According to Mastering VB 6 by Evangelous Petrousos:
"...the Load statement doesn't show the Form. You have to call the Form's Show method to display it..." (p.181)
Now when I execute this code:
the form is displayed, EVEN when I have frmMyForm.Visible = False!!! I don't understand! Is there something I have set, or something else I can look at? I've also tried this code:Code:Private Sub Command1_Click() Dim Form as New frmMyForm Load Form End Sub
Now, what happens is I see frmMyForm flash for a second. I don't want that! I just want to load it in the background!!I thought that you had to Show a form to make it show!!! Please help!!!Code:Private Sub Command1_Click() Load frmMyForm frmMyForm.Visible = False End Sub




Reply With Quote