| | |
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
Views: 1212 | Replies: 2
| Thread Tools | Search this Thread |
Tag cloud for VB.NET
.net 2005 2008 access account application arithmetic array arrays basic bing button buttons c# center check checkbox code combobox component convert crystalreport data database datagrid datagridview date dissertation dissertations dropdownlist excel fade file-dialog ftp generatetags google gridview hardcopy highlighting images inline input insert intel internet listview mobile monitor ms net networking objects output passingparameters picturebox picturebox1 port print printing problem problemwithinstallation project remove save searchbox searchvb.net select serial server shutdown soap sorting survey syntax table tcp temperature text textbox timer toolbox trim update updown user validation vb vb.net vb.netformclosing()eventpictureboxmessagebox vb2008 vbnet view visual visualbasic visualbasic.net visualstudio visualstudio2008 web winforms wpf





