|
-
Nov 19th, 2007, 02:35 AM
#1
Thread Starter
Lively Member
Open a form with name as string
Hi all
i have to open a form with its name.. my form name is in string type so i used the following code to open the form using forms object
Code:
Forms.Add(FormName).Show
and this works too.. the problem is that it opens a instance of the original form so resulting is that when i try to open the form from menu another form (ie) original form is being opened...
so plz tell me how to open a form with form name as string.. and not the instance...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|