Information générale
Catégorie:
Applications Internet
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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement