VB.NET Issues,please Help - Programming - Nairaland
Nairaland Forum › Science/Technology › Programming › VB.NET Issues,please Help (1123 Views)
| VB.NET Issues,please Help by Lakulos(op): 3:23pm On Nov 07, 2012 |
Please help me wit this,i added 2 forms to my project,inorder for the second form to show i hid the first form using me.hide.But i discovered that when i closed the the second form,the program is still running on the background and form1 is nowhere to b found.I programming using VB.NET |
| Re: VB.NET Issues,please Help by Kobojunkie: 10:26pm On Nov 07, 2012 |
Please post code showing where you actually open the second form and hide the second form. |
| Re: VB.NET Issues,please Help by Lakulos(op): 9:36am On Nov 08, 2012 |
Kobojunkie: Please post code showing where you actually open the second form and hide the second form.This is the code: Public class form1 dim first as form2 private sub button1 click............ Me.hide First.show() end sub end class The problem is that,when i close the form2,i expect the whole program to close but only form2 closes while form1 keeps running in the background and it is nowhere to be found. |
| Re: VB.NET Issues,please Help by JstBrave(f): 11:53am On Nov 10, 2012 |
Lakulos: This is the code:i tink u shd jst put a command button on ur Form2 interface. 1) If u want d program 2end then try ds: Private Sub Button1_Click() End End Sub 2) If u want to go back 2ur form1 (i.e form1 should b displayed again) Private Sub Button1_Click() Form1.Show Me.Hide End Sub |
I Need A Help To Write A Simple Login Form Using Vb.net • Vb.net Crystal Report & Dataset • Post Ur Vb 6.0 Questions Here • 2 • 3 • 4
I Really Don't Get It ??? • Calling API • Which Of These Should I Learn: Java(android Development) Or Php(web Development)