Andy,
Thanks for your information!
This is how i do. But i have a few questions.
ObjectHandle obj = Activator.CreateComInstanceFrom(Assembly.GetExecut ingAssembly().CodeBase.ToString(),typeof(Form2).To String());
Object o = obj.Unwrap();
((Form2)o).Show();
I got the name of the form i want to load stored in a string
variable let says vFormName. How do i load this form? Can give me an
example? Thanks!
"Andy Gaskell" <pubb AT hotmail DOT com> wrote in message news:<u9**************@TK2MSFTNGP09.phx.gbl>...
Sure, take a look at the CreateInstance method.
http://msdn.microsoft.com/library/de...tanceTopic.asp
There's a few overloads for this method, most of the time I use this one.
http://msdn.microsoft.com/library/de...anceTopic2.asp
"jayson_13" <ja*******@yahoo.com> wrote in message
news:85**************************@posting.google.c om... Hi,
I have a menu screen and i want to store the menus in a table. Is
the a way that i can load the form according to the menu user has
selected?
Eg:
Menu
=================
1) Order Entry
2) Order Confirmation
3) Delivery
So when user double click on the Menu 2. I will load the Order
Confirmation Form. The name of the form i stored in table
Thank you!