any1 here know how to make a browse button?

that can browse files inside a specific folder and then playing it?

also what player should i use in my form?

only know Amovie.ocx but i still dnt know how to make or have an idea in making a browse cmdbutton

t.y in advance to those who can help me

You need to use microsoft commondialog control for the browse button and use the show open method and you can use multimedia control or windows media player control to play the file.

elow, ive figured out how to use the common dialog box by putting this code on the cmdButton

CommonDialog1.ShowOpen

but how will i autoplay the file that ive pick??

pls help me on the syntax needed

if u r using windows media player :-

the syntax is:-

mediaplayer1.filename=commondialog1.filename
mediaplayer1.play

if u r using microsoft multimedia control :-

the syntax is :-

multimedia1.filename=commondialog1.filename
multimedia1.command="open"
multimedia1.command="play"

hope this will help you.

regards
Shouvik

commented: helpfull +1

elow if finish the prob,

thx to the two if you


XBowX

:)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.