edinet
Member
- Joined
- May 8, 2013
- Messages
- 22
- Programming Experience
- Beginner
example,,
the text is hello,,i change it to hello word
and when i run the application ,,,the text must be hello word
Private Sub Button4_Click(sender As System.Object, e As System.EventArgs) Handles Button4.Click
My.Settings.myLableText = "My Label Text To Display"
My.Settings.Save()
End Sub
Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
Label1.Text = My.Settings.myLableText
End Sub
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
Dim mySecondForm As New Form2
mySecondForm.TextBox1.Text = Me.TextBox1.Text
mySecondForm.ShowDialog()
End Sub
and the text in form2 will be saved when the app is running (not in vb) from "desktop or directory"