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.In reply to Win32::OLE error by marynella
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |