Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Recognizing the success of a Web call
Message
 
À
08/06/2001 17:21:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00517245
Message ID:
00517346
Vues:
14
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
Fil
Voir

Click here to load this message in the networking platform