Internet Advertising | Mortgages | Gas Suppliers | Mortgages | Unblock Myspace
help opening form in vb.net [Archive] - PCMech Forums

PDA

View Full Version : help opening form in vb.net


jasontung
04-03-2004, 11:45 PM
Hi
Does anyone know how I can open a form from another form while hiding the other one?

So when I press a button in from1, form1 will close, form2 will open

kram 2.0
04-14-2004, 08:46 PM
It would probably involve some PHPing, since I presume you intend to have the "Submit" button as your form one, that will lead to your form 2. I would say, though, that the easiest way would be to utilize Macromedia Flash, if you have it. I'm sorry, that I'm not thoughrouly skilled in PHP, but I can tell you that you may use an if then statement.

Hope that helps,
kram

Zick Boy
04-15-2004, 11:06 AM
Put code in form2 to close form 1 as soon as it loads OR hide form1 (don't unload it) and then load form2.

aym
04-15-2004, 04:31 PM
Originally posted by kram8806
It would probably involve some PHPing, since I presume you intend to have the "Submit" button as your form one, that will lead to your form 2. I would say, though, that the easiest way would be to utilize Macromedia Flash, if you have it. I'm sorry, that I'm not thoughrouly skilled in PHP, but I can tell you that you may use an if then statement.

Hope that helps,
kram

jasontung asked about forms in VB .NET, and not web forms :D