Urgent rpely
-
hai I have created a Main Form in vb.net(windows application) in that main form i have 4 Link buttons like Register,QuoteReq form etc.. when i click the register Link that will go to the Register form..the code wt i used there is Dim obj as New RegForm obj.show() wen i run it is going to the regform but that is opening in a seperate window...For every click a seperate window is opening..i want the new form in the same window only....can any one help....
-
hai I have created a Main Form in vb.net(windows application) in that main form i have 4 Link buttons like Register,QuoteReq form etc.. when i click the register Link that will go to the Register form..the code wt i used there is Dim obj as New RegForm obj.show() wen i run it is going to the regform but that is opening in a seperate window...For every click a seperate window is opening..i want the new form in the same window only....can any one help....
you want to open the form in mdi form or you want to open just new form
-
you want to open the form in mdi form or you want to open just new form
In the same window a seperate form has to open.. suppose in my Form1 i have Register, QuoteReq,PaymentForm like that links are there. when i click Register link the page has to be redirected to Register form which is a new one.... I want the new form to be open in the same window ...The design for all the forms are same... only controls are different...
-
hai I have created a Main Form in vb.net(windows application) in that main form i have 4 Link buttons like Register,QuoteReq form etc.. when i click the register Link that will go to the Register form..the code wt i used there is Dim obj as New RegForm obj.show() wen i run it is going to the regform but that is opening in a seperate window...For every click a seperate window is opening..i want the new form in the same window only....can any one help....
Why not use a tab control?
Steve Jowett ------------------------- Sometimes a man who deserves to be looked down upon because he is a fool, is only despised only because he is an 'I.T. Consultant'
-
In the same window a seperate form has to open.. suppose in my Form1 i have Register, QuoteReq,PaymentForm like that links are there. when i click Register link the page has to be redirected to Register form which is a new one.... I want the new form to be open in the same window ...The design for all the forms are same... only controls are different...
Then you do what you are already doing, though you have to
Hide
the form that launched this new form. Something like:Dim newForm As RegisterForm Me.Hide() newForm.Show()
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007