|
-
Jun 28th, 2005, 09:59 AM
#1
Thread Starter
Frenzied Member
New Instance and such... [resolved]
Hey everyone, i've been working on my app for about 45mins already and i have a considerable amount done in comparison to my usual work-rate.
However, when trying to tell whether to open a new ionstance of a form, or stick with form1 i get error 450 with the following code :
VB Code:
If NewInst = vbChecked Then
frm = New Form1
Else:
frm = Form1
End If
How would i go about making this work correctly ?
Last edited by thegreatone; Jun 28th, 2005 at 10:22 AM.
Zeegnahtuer?
-
Jun 28th, 2005, 10:04 AM
#2
Re: New Instance and such...
You must do
Dim frm As Form1
Set frm = New Form1
-
Jun 28th, 2005, 10:06 AM
#3
Re: New Instance and such...
of course, after that you load the new instance with
frm.Show
-
Jun 28th, 2005, 10:21 AM
#4
Thread Starter
Frenzied Member
Re: New Instance and such...
Cheers Baja, it was that simple, why didn't i think that way in the first place... i blame the heat 
+Rep
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
|