Skip to main content
gamedev.net
🔒 Locked

Visual Basic 6.0

Started by vnebojsa 1 reply 250+ views
Original Post
vnebojsa
vnebojsa
Hi! I am trying to create simple app in VB 6.0. I''d have a button and I''d like to write a code which will provide me next: When that button is clicked, I want to open new window, next form, Form2. Now I am working in Form1 and I''d like to go to Form2 when that button is clicked. Can anyone help me? Thanks! Nebo
Best Regards,Nebo VeronReal Command
Pillejunior
Pillejunior
in the sub (double click on button and you go there) program this
form1.hide
form2.show

hope it helps

[edited by - Pillejunior on January 28, 2004 9:07:09 AM]

[edited by - pillejunior on January 28, 2004 9:07:55 AM]
vnebojsa
vnebojsa
Yes, it helped me. Many many thanks!

Nebo
Best Regards,Nebo VeronReal Command

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.