Hi every one!
I'm a very new to VB.NET, and I had an application which I wanted to upgraded to VB.NET, I used the VS.NET wizard to upgrade the application, but I had some difficulty to convert the follwoing statemensts from VB6 to VB.NET
1-
im OneForm As Form
For Each OneForm In forms
OneForm.Close()
Next OneForm
(i have some forms that I have loaded it in VB6 using the Load(FormName)
Formname.Show
after exsiting the application I wanted to execute the For ...in ...Next statement)
2-
Form_Unload(Cancel As Integer)
cancel = 1
I'm a very new to VB.NET, and I had an application which I wanted to upgraded to VB.NET, I used the VS.NET wizard to upgrade the application, but I had some difficulty to convert the follwoing statemensts from VB6 to VB.NET
1-
im OneForm As Form
For Each OneForm In forms
OneForm.Close()
Next OneForm
(i have some forms that I have loaded it in VB6 using the Load(FormName)
Formname.Show
after exsiting the application I wanted to execute the For ...in ...Next statement)
2-
Form_Unload(Cancel As Integer)
cancel = 1