4,107 questions
How do I set the My.Settings variable of type POINT in vb.net
Daniel McElhinney
120
Reputation points
Private Sub Form1_Closing(sender As Object, e As CancelEventArgs) Handles Me.Closing
Dim x As Integer = Me.Location.X
Dim y As Integer = Me.Location.Y
Dim ThisLocation As Point = New Point(x, y)
'The following line of code is wrong
My.Settings.FormPosition = ThisLocation.X, thislocation.y
End Sub
End Class
Developer technologies | .NET | Other
Developer technologies | VB
2,892 questions
Sign in to answer