Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Trouble with WMP and OLE

by blm (Hermit)
on Mar 02, 2003 at 07:19 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2023-03-27 03:26 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (63 votes). Check out past polls.