General information
Category:
Internet applications
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only