Basically I am saving text to 2 seperate ini files, also saving the checkbox.checked value so my form can skip the login and auto start. My only problem is when a user saves the information to the INI files after writing them they automatically open up the INI files for display. When the form loads it automatically fills in the fields and if the checkbox is active it checks all the correct details then starts, only problem is it loads the checkbox1.checked ini file then starts the main menu. How can I skip this? and make it not show the ini files everytime they are called upon?
VB.NET:
Dim aINIpath As String
aINIpath = "\User.ini"
If File.Exists(aINIpath) = False Then
File.Create(aINIpath)
End If
System.IO.File.WriteAllText(Application.StartupPath & "\User.ini", TextBox1.Text)
System.Diagnostics.Process.Start(Application.StartupPath & "\User.ini")[/SIZE][/FONT]