It's confusing because in VB, Type.GetType("MyFormName") and GetType(MyFormName) are named the same thing, but the first is a static method of System.Type and the second one is a language construct that compiles the raw type into the application.
I'm going to kill this VB. I looked at the CRM example (which only comes in VB by the way), and started from there. But killed three hours of my sleep over it, until Chan jumped in and helped.
But your point is well taken.
Ben, a long time ago, you had mentioned you had gotten a new [good] program that converts VB to C#. Could you please convert the CRM Application to C# and attach the solution here. There are actually several samples in VB that are not in C# samples.
The equivalent language construct in C# is typeof(), so you should call it like this:
StartForm(typeof(frmStore));
not
StartForm(GetType(frmStore));
I just tried you way and works perfect. You're "D" man!
P.S. Of course you're going to get some help
You're not only an scholar but a Gentleman as well!
Thanks for the great support!
..ßen