Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shellexecute problem
Message
From
10/07/2000 10:36:17
 
 
To
10/07/2000 09:54:27
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00390180
Message ID:
00390210
Views:
12
>Hi
>
>I am trying to launch a web page sitting on a server with the following command
>
>lnValue=ShellExecute(0, "open","http://fx-dev35.uk.jpmorgan.com:8001/FW_PRADO_CueCards/Prado_index.htm", "","", 1)
>
>but it is returning a "file not found" error, but when I copy and paste the address inth the browser it finds it ok.
>
>I am also getting the same error when I try to execute
>
>lnValue=ShellExecute(0, "open","http://www.microsoft.com", "","", 1)
>

Did you properly declare ShellExecute()?

>I have an internet connection, and I am able to type in this address, and go to the site
>
>I did think it may have been a file associatoin problem, but I checked the file associations and they seem fine.
>
>
>I have tried my exe on an other machine and these commands work fine.
>
>Can anyone shed some light on this problem.
>
>Thanks for your help in advance
>
>Regards
>
>Steven Bowskill
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform