I have the name of the form (in String) that I would like to show. How do I show the form, if I only have its form name in String?
"wrytat" wrote in message news:238CDCFE-0AF5-41B5-A388-6E07D9ED9A52@microsoft.com... >I have the name of the form (in String) that I would like to show. How do I > show the form, if I only have its form name in String? You can use the Activator.CreateInstance
"wrytat" schrieb: >I have the name of the form (in String) that I would like to show. How do I > show the form, if I only have its form name in String? Take a look at the code snippets in this article: <URL:http://dotnet.mvps.org/dotnet/code/techniques/#ClassByName> -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>