Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Trouble with WMP and OLE

by blm (Hermit)
on Mar 02, 2003 at 07:19 UTC ( [id://239831]=note: print w/replies, xml ) Need Help??


in reply to Trouble with WMP and OLE

After digging around at the Media Player Object Documentation, it would seem that the thing (MediaPlayer.MediaPlayer) is actually an ActiveX control that needs to be embedded in an ActiveX container like a VB form or a web page in Internet Explorer. This was confirmed for me when I saw this. The author of that web page created a wrapper around media player and a scriptable object to create forms to embed ActiveX controls in. Give it a look as it may help. It relates specifically to WSH but you can translate alot of VBScript to perl using Win32::OLE.

Replies are listed 'Best First'.
Re: Re: Trouble with WMP and OLE
by Anonymous Monk on Mar 02, 2003 at 09:56 UTC
    Thanks for help, the funny thing is that I get About box show OK from code I have. So I assume that also other things should work - but I'm really novice to OLE, so maybe I'm doing something wron in code - maybe just turning WMP to be visible would be enough to get averything working. So maybe if someone explained to me how to set properties, how to call methods correctly with Perl and OLE that would be good start for me... Regards, Robert Rozman

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://239831]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-19 19:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found