Private Sub PictureBox4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox4.Click
Dim eli
eli = Application.StartupPath
Dim joshi
joshi = eli & "\testordner\text1.txt"
MsgBox(joshi)
Using sw As StreamWriter = New StreamWriter(joshi)
' schreibe text
sw.Write("test")
sw.Close()
End Using
End Sub
Warum nimmt er die Variable nicht an? Ich möchte die Datei gerne Flexibel und anpassungsfähig verändern...