|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi Guys,
I am learning vb.Net. I have one doubt. I need to open second form from first form. I need to show only active forms. how to open second form. I tried this with me.close and secondform.show() But all the forms get closed and application get terminate. how to resolve this? Thx in advance. regards raj |
|
#2
|
|||
|
|||
|
Hi Raj,
To Open the Second Form from the first one, you need to first create an object of the type (Secondform), like this : dim sf as new secondform() Then, to hide the first form anfd display the second form, the code is like this : 'To hide the form1. me.hide 'To display the second form. sf.show Do Check this. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > ASP Development > Vb.Net Windows Form |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|