I want to be able to close one text file and open another with the variables at their original settings.
I think it would be easier just to completely exit the program and reopen it, so I created another form which only contains the new() sub
Expand|Select|Wrap|Line Numbers
- Public Sub New()
- MyBase.New()
- 'This call is required by the Windows Form Designer.
- InitializeComponent()
- 'Add any initialization after the InitializeComponent() call
- While Not bool
- Dim form1 As New Form1()
- bool = form1.ShowDialog()
- End While
- End Sub
The other idea (easier) is to just restart the program with a me.restart() type command, but I don't know how to do that or what command i would use?