Re: How to redirect page in windows application?
From: Clamps (Clamps_at_RobotMafia.Futurama.com)
Date: 11/30/04
- Next message: Herfried K. Wagner [MVP]: "Re: How to redirect page in windows application?"
- Previous message: Brad: "crystal reports question"
- In reply to: JenHu: "How to redirect page in windows application?"
- Next in thread: Herfried K. Wagner [MVP]: "Re: How to redirect page in windows application?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 30 Nov 2004 15:33:35 -0600
The best route to go with logins is to use your main.vb to instantiate an instance of
"Login" ,
do your validation in the login.vb, then return control to main.vb like so....
'in the load event of Main.vb
dim x as new login
x.showdialog()
<showdialog forces you to be close the form before it returns control>
x.show() will work too, but the form isn't modal
"JenHu" <jenniferhu46@hotmail-dot-com.no-spam.invalid> wrote in message
news:41acde71$1_1@Usenet.com...
| Hi all,
|
| I have to ask a stupid question:
|
| In asp.net, I use Response.Redirect ("Main.aspx") to redirect pages,
| but what is the syntax of redirect forms in vb.net windows
| application?
|
| I have a login page, after clicked "login", it will direct the page to
| main.vb, but error says "response is not declared".......
| Thanks.
|
| *-----------------------*
| Posted at:
| www.GroupSrv.com
| *-----------------------*
- Next message: Herfried K. Wagner [MVP]: "Re: How to redirect page in windows application?"
- Previous message: Brad: "crystal reports question"
- In reply to: JenHu: "How to redirect page in windows application?"
- Next in thread: Herfried K. Wagner [MVP]: "Re: How to redirect page in windows application?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|