wmp.dll

karel schoonjan

New Member
Hallo,

We got a POS aplication that shows movies on the customer display, I would like to open these movies and show them in the window (for AVI I found an example on global-shared, which works fine, but only for avi).
So I hoped to be able to open other movies using the wmp.dll, which
can be selected from within the "OCX-controls". With the progress COM object viewer you can open the wmp.dll and see all methods/properties and events. But to be honest I don't know were to start. Does anyone has tried this, and was able to make it work? If so could he/she send a little example? Or is there another way to open a movie on a progress window?
thanks
 

curly

New Member
Hi Karel,

You just need to assign URL property of the ocx.

Example:
chCtrlFrame:WindowsMediaPlayer:url = "c:\Windows\clock.avi"

Regards,
Marian
 
Top