Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Loading a URL
Message
 
 
À
07/04/2008 12:37:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01308741
Message ID:
01308770
Vues:
13
This message has been marked as a message which has helped to the initial question of the thread.
It's not an error. Returne value > 32 indicates success.
Works fine for me (FF3B5 is default browser).

>
>Here is my test code with an example long URL;
>


>
>lcURL = "http://news.google.com/news/url?sa=T&ct=us/7-0&fd=R&url=h
ttp://www.freep.com/apps/pbcs.dll/article%3FAID%3D/20080406/NEWS01/80406034/1003/
news&cid=1148779392&ei=3Ez6R4TdNqiSwwHsmvCmDg&usg=AFrqEzeDJ_6u2AjFqilgY9BzF0luu4qVyw"
>
>  DECLARE INTEGER ShellExecute IN SHELL32.DLL ;
>    INTEGER nWinHandle , ;
>    STRING cOperation  , ;
>    STRING cFileName   , ;
>    STRING cParameters , ;
>    STRING cDirectory  , ;
>    INTEGER nShowWindow
>
>? SHELLEXECUTE( 0, "Open", m.lcURL , "", "", 0 )
>
>
>Error code is 42.
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform