Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
String to Object
Message
 
To
01/07/2003 10:40:38
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00805187
Message ID:
00810048
Views:
8
>Hi Allan,
>
>The following are the codeing in my function, i hope it will make u more understand what I need :
>
>Let say txtFormName.text = "Form1"
>
>Private Sub Button1_Click()
> OpenForm (txtFormName.text)
> 'Call function OpenForm to open the form called "Form1"
>End Sub
>
>Private Function OpenForm(lcFormName as object)
> 'The compiler will highlight the lcFormName and say "Type Mismatch"
> lcFormName.SHOW
>End Sub
>
>
>Is there any method allow this function to open any form by typing from txtFormName?
>
>
>Please Help
>Thanks
>
>Aston
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Reply
Map
View

Click here to load this message in the networking platform