| | |
ReStarting my windows mobile application
Please support our VB.NET advertiser: Intel Parallel Studio Home
Thread Solved |
Hi Guys ...
Does anybody know how to force a windows forms application to restart (Close and open again) taking the user back to the first screen ?
My user fills in a questionnaire, reaches the end and is asked to either perform another survey or to send data (sent back to HQ)
So, if they click to perform another survey ... I have got it to create seperate textfiles with incremented numbers file_1.txt, file_2.txt etc
but because I have disabled buttons within my program after the user completes each section .. they are unable to fill in any information for the second survey because the buttons have been disabled.
I was thinking it would have been something like
but all I get is
Does anybody know how to force a windows forms application to restart (Close and open again) taking the user back to the first screen ?
My user fills in a questionnaire, reaches the end and is asked to either perform another survey or to send data (sent back to HQ)
So, if they click to perform another survey ... I have got it to create seperate textfiles with incremented numbers file_1.txt, file_2.txt etc
but because I have disabled buttons within my program after the user completes each section .. they are unable to fill in any information for the second survey because the buttons have been disabled.
I was thinking it would have been something like
VB.NET Syntax (Toggle Plain Text)
Application.restart()
but all I get is
VB.NET Syntax (Toggle Plain Text)
Application.Exit()
Michelle (Junior Developer)
VB.NET Syntax (Toggle Plain Text)
Dim p As New System.Diagnostics.ProcessStartInfo() p.FileName = "FactFind.exe" p.UseShellExecute = True System.Diagnostics.Process.Start(p)
I have tried the above code to start a process. forcing the application to start ... no joy however
Michelle (Junior Developer)
![]() |
Similar Threads
- Explorer Restarting itself... (Viruses, Spyware and other Nasties)
Other Threads in the VB.NET Forum
- Previous Thread: debugging problem
- Next Thread: average sales
| Thread Tools | Search this Thread |
.net .net2008 2008 access account advanced application array basic beginner browser button buttons center click code combo cuesent data database datagrid datagridview date datetimepicker designer dissertation dissertations dissertationtopic excel exists fade filter forms generatetags gridview html images input insert intel internet listview map mobile module monitor msaccess net number objects open panel passingparameters pdf picturebox picturebox2 port position print printing problem regex right-to-left save search searchvb.net select serial settings shutdown socket sqldatbase sqlserver survey table temperature textbox timer timespan transparency txttoxmlconverter update user usercontol vb vb.net vb.netformclosing()eventpictureboxmessagebox vba vbnet visual visualbasic visualbasic.net visualstudio.net visualstudio2008 web winforms wpf wrapingcode xml year





