converting from VB6 to .net

dragonsbb16

Member
Joined
Feb 14, 2006
Messages
5
Programming Experience
1-3
Hello,
I am doing a convert/rewrite from a vb6 app to a VB.net (Windows App)
I understand that there are MANY changes in the controls and properties, some things are supported any more some things are just in different places, and MS wants you to find them. I will only ask questions if i have exausted all my resourses. Here is my first one:

'Preload Main Form & Show it
'UPGRADE_ISSUE: Load statement is not supported. Click for more: 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="vbup1039"'

Load(frmMain)
frmMain.DefInstance.Show()

Obviously i have read their help file and whatnot and i cant seem to find how to do this...basically how do you "LOAD" a form?
 
Did you change the line:
VB.NET:
Dim frmMain as New MainForm

To reference whatever the actual name of your form class is?

The Form is in the same project as the Module?
 
Back
Top