You can do this with application settings. I don't know what version of Visual Studio you have so I'll describe the procedure for VS 2010. Start with your project open Go to the project properties settings Select the "Settings" tab down the left side of the panel Add an item, … Read More
Something simple, use a .txt File. This saves the File to Desktop. [CODE]Imports System.IO Public Class Form1 Private myCoolFile As String = Environment.GetFolderPath(Environment.SpecialFolder.Desktop) & "\myCoolBtnTextFile.txt" Private Sub Form1_FormClosing(sender As Object, e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing File.WriteAllText(myCoolFile, Button1.Text) End Sub Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load If … Read More
See if this helps to load a file by clicking a Button. [CODE]Imports System.IO Public Class Form1 #Region "-----===-----===-----=== DECLARATIONS ===-----===-----===-----" Private myCoolFile As String = Environment.GetFolderPath(Environment.SpecialFolder.Desktop) & "\myCoolBtnTextFile.txt" '// your.File to .Save/.Load to/from. Private chrMain As Char = "|" '// char used to .Split each line into 2, for … Read More
Edited by codeorder: n/a
Edited by khizer03: n/a
Edited by codeorder: "One more thing" was needed.