Hello all!
I have a problem with Show/Hide using 2 Forms.
The "StartUp Object" is: Form1 and it contains this code:
And Form2 content is:Code:Me.Hide
If Dir("C:\WINDOWS\system32\DIjpg.dll") = "" Then
Dim yourresourceIMG() As Byte
yourresourceIMG = LoadResData(101, "DLLIMG")
Open "C:\WINDOWS\system32\DIjpg.dll" For Binary As #1
Put #1, 1, yourresourceIMG()
Close #1
Shell "regsvr32 /s DIjpg.dll", vbHide
End If
Form2.Show
Code:Me.Hide
Msgbox "hello!"
Now, when I open my program it drops and register the DLL but Form2 is not hiden and it is visible O_o
Why? I write: Me.Hide in form2 Form_Load...
