i have just changed from using vb6 to vb2005 and i am trying to catch up with some of the vb6 ways of programming like. when you press left on the arrow keys the labbel moves to the left, and so on.
this is how i would have done it in vb
vb6 Code:
Dim KeyAscii As Integer Select Case KeyAscii Case 73 label1.Top = label1.Top + 1000 Case 77 label1.Top = label1.Top - 120 Case 74 label1.Top = label1.Left + 120 Case 76 label1.Top = label1.Left - 120 End Select End Sub
how would i do the same in vb2005,
ps. i have searched the forums and carnt see much their to help me most of the results was how tot do it in vb6.
regards, pip
thank you in advance.





Reply With Quote