My.Computer.FileSystem.DeleteFile("C:\pos.txt")
My.Computer.FileSystem.WriteAllText("C:\pos.txt", Me.Location.X & vbNewLine & Me.Location.Y, True)
End
But loading that pos I need to read line's 1 and 2 individually, so I have done this, which has not worked and I need help with:
Me.Location = New Point(Me.Location.X = IO.File.ReadAllLines("C:\pos.txt")(0).ToString, Me.Location.Y = IO.File.ReadAllLines("C:\pos.txt")(1).ToString)
I have tried without the .ToString.

New Topic/Question
Reply



MultiQuote






|