dumb question

  • Thread starter Thread starter Wayne Dixon
  • Start date Start date
W

Wayne Dixon

Ok, I know this is going to sound like a really stupid
quesiton, but does anybody know how to load a form from a
click event? I've tried my standard VB6 code tricks, of
course to no avail. Thanks in advance.
 
Hi Wayne,

Simply call the .vb form name:
Dim newmwin As New vendorinvoicing

newmwin.Show()

HTH,

Bernie Yaeger
 
Wayne Dixon said:
Ok, I know this is going to sound like a really stupid
quesiton, but does anybody know how to load a form from a
click event? I've tried my standard VB6 code tricks, of
course to no avail. Thanks in advance.

Do you know why your tricks worked in VB6?
Which tricks? :-)
 
Yes of course its Dumb, how could you possibly make yourself look silly by
asking such a basic question. Really, do some people never learn anything
new ?

:-) ( Only kidding, I ask questions like this 'Every Day' )

//
Dim MyForm As New Form
MyForm.Show()
\\


Regards - OHM




Wayne said:
Ok, I know this is going to sound like a really stupid
quesiton, but does anybody know how to load a form from a
click event? I've tried my standard VB6 code tricks, of
course to no avail. Thanks in advance.

Regards - OHM# OneHandedMan{at}BTInternet{dot}com
 
Hi Wayne,

In addition to the others,

Have a look at the
\\\
frm as new form2
frm.showdialog
///
Also because that is often what people want in this situation.

Cor
 
* "Wayne Dixon said:
Ok, I know this is going to sound like a really stupid
quesiton, but does anybody know how to load a form from a
click event? I've tried my standard VB6 code tricks, of
course to no avail. Thanks in advance.

\\\
Call (New FooForm()).ShowDialog()
///

SCNR
 
Back
Top