Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Recognizing the success of a Web call
Message
 
To
08/06/2001 17:21:13
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00517245
Message ID:
00517346
Views:
13
Hi!
It may be not a full solution, but you can use an API fuction
"PathIsURL" (available under Win98/2000 or IE 4.0 installed) to
determine if string conforms to a valid URL format:

Declare Integer PathIsURL in shlwapi String @ pszPath
?PathIsURL('http:\\www.microsoft.com')

Alexander

>Using ShellExecute to call a Web page, is there a way to know if it was successfully loaded? What I mean is that if we have a value that can't be interpreted by ShellExecute(), nothing will happen. How do we detect that in VFP? I would like to return a messagebox to tell the user that the value is not recognized to be interpreted as a URL.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform