Sep 20th, 2006, 09:00 AM
#1
Thread Starter
Lively Member
Image clickable
is it possible that an image will be clickable ? example this image ... is it possible that when i click it it will go to form2 ....
Attached Images
Sep 20th, 2006, 09:04 AM
#2
Hyperactive Member
Re: Image clickable
Yeah just add a PictureBox or Image to your form and put the form2.show code in the Click Event
Sep 20th, 2006, 09:04 AM
#3
Re: Image clickable
VB Code:
Private Sub Image1_Click()
Form2.Show
End Sub
Sep 20th, 2006, 09:31 AM
#4
Thread Starter
Lively Member
Re: Image clickable
hmph ... thank you ... but can i put an image GIF ... and how can i put a small video clip i dont know how to use the video clip in components
Sep 20th, 2006, 10:01 AM
#5
Re: Image clickable
You'll need to use MS Windows Common Controls... click Project>>Components and select it. Then search for Animation control. It supports simple AVIs. For more advanced video playback, use MS Windows Media Player control.
Sep 20th, 2006, 10:10 AM
#6
Thread Starter
Lively Member
Re: Image clickable
there is many MS common control in the components should i check it all
Sep 20th, 2006, 10:16 AM
#7
Thread Starter
Lively Member
Re: Image clickable
Originally Posted by
LegoKid
there are many MS common control in the components should i check it all
and about the video clip i put a video and i type the URL like this
D:\Documents and Settings\Administrator\My Documents\My Videos\Movie.wav
is this correct
Sep 20th, 2006, 10:16 AM
#8
Re: Image clickable
I think it's 2 5.0 and 2 6.0... try I don't know what version/s you have.
Sep 20th, 2006, 10:25 AM
#9
Thread Starter
Lively Member
Re: Image clickable
i have a version of "5.0" "6.0" "2.5.0" "2.6.0" "2.3.0"
why it didnt run ... i dnt know what should i put .avi, .mp3. wmp .....
D:\Documents and Settings\Administrator\My Documents\My Videos\Movie.wav
Sep 20th, 2006, 10:28 AM
#10
Re: Image clickable
You'll need to use MS Multimedia Control to play WAV. Try with 2.5.0 or 2.6.0 for Animation control... but it can play only AVI (as i know)
Sep 20th, 2006, 10:34 AM
#11
Thread Starter
Lively Member
Re: Image clickable
But How Can I Put A Gif Image ..... Cause My Plan Is I Have A Gif And I Set That To Be Clicken ......
Sep 20th, 2006, 10:37 AM
#12
Sep 20th, 2006, 10:42 AM
#13
Thread Starter
Lively Member
Re: Image clickable
the video type of my video is " Windows Media Audio/vido file" what is the code for this ? wma ?
Sep 20th, 2006, 10:44 AM
#14
Re: Image clickable
Originally Posted by
LegoKid
the video type of my video is " Windows Media Audio/vido file" what is the code for this ? wma ?
Yes... wma or wmv... you can play this with the MS Windows Media Player control
Sep 20th, 2006, 10:47 AM
#15
Thread Starter
Lively Member
Re: Image clickable
http://www.vbforums.com/showthread.php?t=350570 ... i upload it but only a error ... its a incomplte file ....
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