VB.Net Help ? Moving Pictures in a Form

Saint Nick

Lifer
Jan 21, 2005
17,722
6
81
For example, I want to move a picture from (4, 4) on to (26, 84). I've tried using:

picRock.Location.X(26)

and

picRock.Location.X = 26

...but neither work. Help is appreciated, thank you!

pOwder
 

techfuzz

Diamond Member
Feb 11, 2001
3,107
0
76
I haven't done any graphics manipulation in VB.NET before, but maybe you need to refresh your workspace after you change the X-coordinate of an object? Then when it is re-drawn your image is moved to the new location.

techfuzz