>Hi
>
>I have been running this code in my apps for years to access web sites
>
>oShell=CREATEOBJECT('WScript.Shell')
>oShell.Run('http://www.virgin-atlantic.com/booknow/SchedulesFlifo.asp')
>
>Now when I try to run it I get the message
>
>OLE error 0x80040111
>classfactory cannot supply requested class
>
>Running VFP6 with SP5
> VFP7 with SP1
>
>Any ideas
>
>Colin
Colin,
Scripting might be disabled. You might try ShellExecute instead :
declare long ShellExecute in "shell32.dll" ;
long hwnd, string lpszOp, ;
string lpszFile, string lpszParams, ;
string lpszDir, long nShowCmd
ShellExecute(0,'Open','http://www.microsoft.com',0,0,1)
Cetin