May 10th, 2004, 02:51 PM
#1
Thread Starter
Junior Member
making an image move?
hi i would like a image in my vb.net programe to move on thescreen when a user clicks a button, how would i do this?
Regards
Homer
May 10th, 2004, 04:28 PM
#2
Frenzied Member
Are you planning on using directional buttons?
If so... you might try something like
VB Code:
'Right Button:
image.left = image.left + 100 'any movement interval
'Left Button:
image.left = image.left - 100 'again, whatever u want here
'Up Button:
image.top = image.top - 100
'Down Button:
image.top = image.top + 100
Just a thought...
Squirrelly1
Now happily married and still crankin' away at the keyboard.
Life is grand for a coder, no?
May 11th, 2004, 01:11 AM
#3
Addicted Member
Hi,
Making an image move inside the form like a Screen Saver
Look at the attached example
Have a nice day
Attached Files
May 11th, 2004, 02:21 AM
#4
Thread Starter
Junior Member
thanks ive d/l the file but it won't open in visual studio says theres files missing?
May 11th, 2004, 04:43 AM
#5
Addicted Member
Hi,
I Download the file that I sent
and I open it again in my computer
and it working Ok.
Try again
Have a nice day
May 11th, 2004, 10:03 AM
#6
Frenzied Member
Make sure you have the right version of .Net... I've heard of this happening before...
Did you ever get it to open?
Squirrelly1
Now happily married and still crankin' away at the keyboard.
Life is grand for a coder, no?
May 11th, 2004, 10:25 AM
#7
Addicted Member
Hi,
I wrote it with vs 7.0 (2002)
Have a nice day
May 11th, 2004, 10:26 AM
#8
Frenzied Member
Yeah, I figured...
If you just upgrade it to 2003 it should work (I got it to on my machine)...
Are you using this for the program I was talking to you about Homer?
~Squirrelly1
Now happily married and still crankin' away at the keyboard.
Life is grand for a coder, no?
May 11th, 2004, 10:39 AM
#9
Addicted Member
Hi,
I do not have 2003.
But I have the program "VSConvert"
If I convrt it to vs 2003 with this program
I do not know if it will work with 2003
because I do not have vs 2003.
I upload a new one
Have a nice day
Attached Files
May 11th, 2004, 10:42 AM
#10
Frenzied Member
I don't think you need the Convert program, do you? When I tried to open the older file, my VB.Net told me it needed to be upgraded to the new "version format"...
Thanx for the new file tho... Homer's software may not have this functionality...
Squirrelly1
Now happily married and still crankin' away at the keyboard.
Life is grand for a coder, no?
May 11th, 2004, 10:45 AM
#11
Addicted Member
Hi,
Did it work with vs 2003 ?
May 11th, 2004, 10:46 AM
#12
Frenzied Member
I have not checked yet... I can if you want me to though...
Gimme a sec.. I'll post back..
Squirrelly1
Now happily married and still crankin' away at the keyboard.
Life is grand for a coder, no?
May 11th, 2004, 10:48 AM
#13
Addicted Member
Hi,
I mean the new one
Yes please I am waiting...
May 11th, 2004, 10:49 AM
#14
Frenzied Member
Yeah, it works just fine...
Squirrelly1
Now happily married and still crankin' away at the keyboard.
Life is grand for a coder, no?
May 11th, 2004, 10:52 AM
#15
Addicted Member
Hi,
Thanks
In my clock is 18:57
I do not what is yours
Have a nice day
May 11th, 2004, 10:59 AM
#16
Frenzied Member
You mean the time?
It's almost 11 A.M. here...
Squirrelly1
Now happily married and still crankin' away at the keyboard.
Life is grand for a coder, no?
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width