Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing from Form to Sub Main
Message
From
18/03/2004 16:19:40
 
 
To
18/03/2004 15:56:52
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00887072
Message ID:
00887686
Views:
13
>I am opening the form from within a module, and a me.something cannot be used within a module.

OK, then why can't you just use this:
Dim MyVariable As String
If frmStartup.ShowDialog() = DialogResult.OK Then
   MyVariable = frmStartup.FormVariable
End If
and then pass it to your frmMain like this:
Dim oMainForm As New frmMain(MyVariable)
oMainForm.Show()
or am I missing something?

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform