Dr.Altaica has asked for the wisdom of the Perl Monks concerning the following question:
$app->{'controls'}->Play() is giveing me
Win32::OLE(0.1502) error 0x80020003: "Member not found"
in METHOD/PROPERTYGET "" at mp3.vbs line 6
It seem I'm geting the seems $app->{'controls'} is ju returning $app Player object instead of $app's Controls object. Controlling Windows Media Player from Perl or how to find OLE methods easily So what am I doing wronge?
sreahing PerlMonks only turned up Controlling Windows Media Player from Perl or how to find OLE methods easily whitch wasnt usefull.use strict; use warnings; use Win32::OLE; my $app = Win32::OLE->CreateObject('{6BF52A52-394A-11d3-B153-00C04F79F +AA6}'); $app->{'URL'} = "http://www.dailywav.com/0403/toothpasteshampoo.wav"; my $cont = ($app->{'controls'}); print "his:" . $app->{'URL'} . "\n"; print "his:" . $app->{'controls'}->{'URL'} . "\n";
|\_/| /o o\ (>_<) `-'
update (broquaint): title change (was Win32::OLE + MediaPlayer == ???)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using Perl to Play MP3s on Windows
by AcidHawk (Vicar) on Apr 11, 2003 at 12:43 UTC |