What is best way to program matrices in VB Is it a predeife structure or do I need to create such a structure
ALso is there a way to reverse the coordinates of the X,Y on forms..currently X coord. goes left to right and Y up n down. Is there a way to change that

matrices in VB express
GethWho
Alexander72
To invert the coordinate system or perhaps the values on a scrollbar for instance
You take the maximum value and subtract the current value.
Example of this for a scrollbar is (it shows the real value and the calculate value)
Public Class Form1
Private Sub VScrollBar1_Scroll(ByVal sender As System.Object, ByVal e As System.Windows.Forms.ScrollEventArgs) Handles VScrollBar1.Scroll
Label1.Text = VScrollBar1.Value.ToString
Label2.Text = (VScrollBar1.Maximum - VScrollBar1.Value).ToString
End Sub
End Class
My though is probably that you are going to be doing some graphing and the origin in the real world is normally bottom, left with values increasing to the right and up. Whereas windows forms origin is the top, left increase to the right and down. So you'll probably be inverting only the y coordinate.