Click here to Skip to main content
16,004,977 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralCalculate totals from a col of a datagrid Pin
Paps25-Oct-04 8:21
Paps25-Oct-04 8:21 
GeneralRe: Calculate totals from a col of a datagrid Pin
Dave Kreskowiak5-Oct-04 8:39
mveDave Kreskowiak5-Oct-04 8:39 
GeneralRe: Calculate totals from a col of a datagrid Pin
Paps25-Oct-04 10:04
Paps25-Oct-04 10:04 
GeneralRe: File Formatting Pin
Dave Kreskowiak5-Oct-04 8:33
mveDave Kreskowiak5-Oct-04 8:33 
GeneralTool tip text on DataGrid Pin
Paps25-Oct-04 3:46
Paps25-Oct-04 3:46 
GeneralRe: Tool tip text on DataGrid Pin
Dave Kreskowiak5-Oct-04 4:45
mveDave Kreskowiak5-Oct-04 4:45 
GeneralThe application's forms collection. Pin
PinMaker5-Oct-04 2:26
PinMaker5-Oct-04 2:26 
GeneralRe: The application's forms collection. Pin
Dave Kreskowiak5-Oct-04 4:39
mveDave Kreskowiak5-Oct-04 4:39 
There is no forms collection...

You have to create an instance of the form you want, like this:
Dim myForm As New Form2
myForm.Show()

But, since your using a string to represent the name of the form, you'll have to make a choice based on that name, then open the appropriate form.

Windows Forms in the .NET Framework don't work like the forms in previous version of Visual Basic. You might want to read Working with Multiple Forms in Visual Basic .NET: Upgrading to .NET[^] on MSDN first.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: The application's forms collection. Pin
PinMaker6-Oct-04 0:58
PinMaker6-Oct-04 0:58 
GeneralRe: The application's forms collection. Pin
mtone6-Oct-04 6:30
mtone6-Oct-04 6:30 
GeneralRe: The application's forms collection. Pin
Dave Kreskowiak6-Oct-04 13:19
mveDave Kreskowiak6-Oct-04 13:19 
Generalhosting multiple dlls in asp.net Pin
Anushu5-Oct-04 0:28
Anushu5-Oct-04 0:28 
GeneralRe: hosting multiple dlls in asp.net Pin
Dave Kreskowiak5-Oct-04 4:19
mveDave Kreskowiak5-Oct-04 4:19 
GeneralRe: hosting multiple dlls in asp.net Pin
Anushu14-Oct-04 3:47
Anushu14-Oct-04 3:47 
GeneralRe: hosting multiple dlls in asp.net Pin
Dave Kreskowiak14-Oct-04 12:21
mveDave Kreskowiak14-Oct-04 12:21 
GeneralPassing Event From ouside of the form Pin
Member 12723814-Oct-04 19:44
Member 12723814-Oct-04 19:44 
GeneralRe: Passing Event From ouside of the form Pin
sreejith ss nair4-Oct-04 23:57
sreejith ss nair4-Oct-04 23:57 
GeneralRe: Passing Event From ouside of the form Pin
Dave Kreskowiak5-Oct-04 0:01
mveDave Kreskowiak5-Oct-04 0:01 
GeneralRe: Passing Event From ouside of the form Pin
Member 12723815-Oct-04 1:47
Member 12723815-Oct-04 1:47 
GeneralImages in EMAIL Pin
Sumit Domyan4-Oct-04 18:48
Sumit Domyan4-Oct-04 18:48 
GeneralHELP NEEDED: Error in Saving the Record. Pin
website developer4-Oct-04 15:36
website developer4-Oct-04 15:36 
GeneralRe: HELP NEEDED: Error in Saving the Record. Pin
Purple Monk5-Oct-04 4:10
Purple Monk5-Oct-04 4:10 
GeneralRe: HELP NEEDED: Error in Saving the Record. Pin
website developer5-Oct-04 15:35
website developer5-Oct-04 15:35 
Generalemail datagrid contents Pin
laurathomas714-Oct-04 14:24
laurathomas714-Oct-04 14:24 
GeneralRe: email datagrid contents Pin
Dave Kreskowiak4-Oct-04 17:11
mveDave Kreskowiak4-Oct-04 17:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.