Plz Assit.....i Wana Get Media Player On My Form Working
how to conect media player using VB
Collapse
X
-
Tags: None
-
-
Originally posted by willakawillHi What are the problems you are having?
i hve got embed it on the form........... ..then i dont hve any material ..how to get it run............ ...
i want to run some multimedia files.......... .....Comment
-
to have a media player on you form, you need to add the components of windows media player, then drag it to yuor form.....
and to play video in the player...just code this
for example the name of the media player is wmp
wmp.url="the path where the videos are saved"
media player has a default buttons for play, pause and etc...
just explore what are the functions of its components...
hope that it will help
SoulflyComment
-
thnks....
but i really cant get those routines... any whre
plz write a small code to get it .
also how to explore our harddisk through vb.
plz write bck.Comment
-
[Hi, maybe this could help
add a windows media player, it is located toolbar, right click toolbar then go to add buttons, then go to com components, im not sure but there's only two choices the com components and the other one
not browse to that then select and add the windows media player
then drag it to the form
the code runs like this
1ST DOUBLE CLICK THE MEDIA PLAYER THEN COPY ITS NAME "AXMEDIAPLAYER_ CLICK"
you could just add a TIMER if you want to,
In timer
add this
_______________ _______________ __
timer1.interval =100
THEN (COPY THE EXACT NAME OF THE MEDIA PLAYER)
END IF
_______________ _______________
OR YOU COULD JUST PUT THE CODE WITH AXMEDIAPLAYER_C LICK EVENT @ THE FORMS EVENT
DOUBLE CLICK THE FORM ITSELF (FORM1)
IT WILL GET YOU TO THE CODE VIEW OF FORM LOAD
THEN PASTE THE CODE TOGETHER WITH THE AXMEDIAPLAYER1_ CLICK EVENT
THIS (MEDIAPLAYER)WI LL RUN EVERYTIME YOU OPEN THE 1ST FORMComment
Comment