marynella has asked for the wisdom of the Perl Monks concerning the following question:
I've a script which opens a IE but I get an error. Maybe sameone can help me.
A pice of code:
$obSh = Win32::OLE->new('WScript.Shell') or<br> die "Can't start Shell + error=", Win32::OLE::LastErro();<br> $path = "C:\\PROGRA~1\\INTERN~1\\IEXPLORE.EXE";<br> $obSh->run("$path $url", 1, true);<br> undef $obSh;
The error I get is: Can't start Shell error=Win32::OLE(0.17) error 0x80040154: "Class not registered
Note:I have Windows Script Host (WinXP/IE6.0). Someone tested the script on his computer and it works.
Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Win32::OLE error
by TheFluffyOne (Beadle) on Nov 21, 2003 at 18:06 UTC | |
|
Re: Win32::OLE error
by VSarkiss (Monsignor) on Nov 21, 2003 at 17:36 UTC |