Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 new form newb question
Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
turing91




PostPosted: Sat Feb 17, 2007 6:57 pm   Post subject: new form newb question

ok i just started visual basics and i would like to know how to click a button and have it open the window again. thank you.
Sponsor
Sponsor
Sponsor
sponsor
cool dude




PostPosted: Thu Feb 22, 2007 9:50 pm   Post subject: Re: new form newb question

what window are you talking about?
turing91




PostPosted: Sat Feb 24, 2007 12:34 pm   Post subject: RE:new form newb question

you know like ie7 where you can open a new window and it opens the original window with your home page and stuff.
cool dude




PostPosted: Sat Feb 24, 2007 7:30 pm   Post subject: Re: RE:new form newb question

turing91 @ Sat Feb 24, 2007 12:34 pm wrote:
you know like ie7 where you can open a new window and it opens the original window with your home page and stuff.


if i understand correctly you want to open up a blank new form by clicking on a button. you can't just randomly create a form by pressing on a button. you actually have to add a form to your project and then you can do form_name.show when the button is clicked.

steps
1. create 2 forms
2. make a button on the first form and double click it
3. in the code type form2.show
4. run your program and click on button and it opens a new form.

Is this what you mean?
turing91




PostPosted: Mon Feb 26, 2007 6:56 pm   Post subject: RE:new form newb question

ok thanks, that helped.
Display posts from previous:   
   Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 5 Posts ]
Jump to:   


Style:  
Search: