| | |
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 |
"crystal .net .net2005 30minutes 2008 access add arithmetic array assignment basic binary bing box button buttons c# center code combobox component connectionstring convert cpu data database databasesearch datagrid datagridview design dissertation dissertations dissertationthesis dosconsolevb.net editvb.net excel file-dialog firewall folder google hardcopy image images isnumericfuntioncall listview login math memory mobile ms mssqlbackend mysql navigate net networking opacity output pan peertopeervideostreaming picturebox picturebox1 plugin port print printpreview problemwithinstallation project record reports" reuse save savedialog serial server sorting sql storedprocedure string temp text textbox timer toolbox updown upload useraccounts usercontrol vb vb.net vb.netcode vb.nettoolboxvisualbasic2008sidebar vbnet view vista visual visualbasic visualbasic.net visualstudio web wpf





