load form2 by button?lol

Posts 1–11 of 11 · Page 1 of 1
load form2 by button?lol
oke, im stupit, im not doing vb for a long time now.....
----------
i've got a form(lets call it form1) and i got second form(lets call that form2 -,-)
i got form1 that contains a textbox and a button(lets call it button1 lol),and i want;when u click on button1 that form2 loads, i had almost evry command like ,open,activate,bringtofront etc... but just not working¿? so does someone know how to?...ofcourse someone does-,- so... can someone please tell me how to? XD


thanx,
under button1.clicked event
form2.show()
Form1.show - Shows Form1
Form2.show - Shows Form2
Form1.Hide - hides form1
Form2.hide - hides form2

Also learn .close and .dispose for cleaning up after dropping a form
oh man.. thanx both im so stupit.. easyer can't -,- but thanx thanx thanx!
martijno0o mazegame simple.rarattachment deleted · 6 downloads before removal
To close the form1(master form) use

Code:
me.close()
or

Code:
end
'( closes every form, but a horrible way to close the program, works but now recommended)

or

Code:
application.exit()
' Closes every form, recommended!
ok thanx.....:D

edit, ok i made a stupit mazegame XD but it works on my pc but not by any1 else¿¿??

so;

fack... outsitelink....check atachment



Virustotal. MD5: 426bb1a8e6817c6378d8e5176f88fb5a
martijno0o mazegame simple.rarattachment deleted · 5 downloads before removal
A> I downloaded it I will look at it later
B> have you checked your prerequisites?
C> Are you using any 3rd party controls or components that wont package automatically
doesnt work for me =/

i get a visual basics power pack error. hmmm
are you missing a component dll?
Quote Originally Posted by XGelite View Post
doesnt work for me =/

i get a visual basics power pack error. hmmm
are you missing a component dll?
Must be, Pack whatever component your using, it ill work for hej because he has the power pack, which can be downloaded from Microsoft
jes i used the linething.. its a mazegame thing it got like 80linesharps>and they are in the power pack from vb08 so? wat i do?
Posts 1–11 of 11 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us