Coding a cmd button

  • Thread starter Thread starter Solva
  • Start date Start date
S

Solva

does ne body know how to code a command button open a form
in VB.NET.

in vb6.0

it is form.show but it does not work in vb.net

AIM screename: wisedome9
yahoo: solva666
 
Many different ways to do this one is:

\\\
Dim objForm as New frmForm
objForm.ShowDialog()
///

Regards Steve
 
* "Solva said:
does ne body know how to code a command button open a form
in VB.NET.

in vb6.0

it is form.show but it does not work in vb.net

You need an /instance/ of the form, default instances are gone:

\\\
Dim f As New AboutForm()
f.Show()
///
 
Back
Top