mpeg video

05-15-2002, 02:24 PM

i have a mpeg video which i want to play when i click on a label.

when click the label it should open up the windows media player and play my file



05-15-2002, 02:38 PM
Assuming the MPG extension is registered to use windows media player, you could just use the ShellExecute function.

Do a search here. There are a lot of examples.

Alternatively, you could use the Shell command to run windows media player and add the name of the mpg as a command line argument.

05-15-2002, 02:43 PM
OK, so you need a label and the MediaPlayer control. What is the question?

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum