|
-
July 31st, 2002, 10:16 PM
#1
Simple Question.
HI! This may sound like a silly question but I am new to Vb.Net. I can't seem to link 2 forms together. Eg.....in Form1 I have a Button1. When I click on Button1, I need it to call Button2. How do I do that?
Thanks...
-
August 5th, 2002, 04:38 PM
#2
private Sub Button1_Click(sender, event)
dim f as new form2
f.show()
f.dispose()
end sub
-
August 6th, 2002, 01:22 AM
#3
Thanks
Thank you for helping me out. Really appreciate it.
About the codes, I've tried them already.....I am still facing one problem. I've design some textboxes and buttons on the second form. When i run the programme from Form 1 to Form 2, it works...BUT nothing comes out on Form2..meaning that the buttons and textboxes I designed earlier was not there. Is there anything wrong with the programme? Or did I code it wrongly?
Thanks
-
August 7th, 2002, 07:10 PM
#4
-
August 8th, 2002, 07:04 PM
#5
did you make BUTTON2 Public Shared?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|