Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Starting Webbrowser from VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00037234
Message ID:
00037272
Vues:
31
>>>* démarre le browser ou courrier par défaut et navigue vers l'URL placé dans MonURL
>>>
>>>MonURL="http://www.total.net/~gersan/index.htm" && ou "mailto:gersan@total.net"
>>>
>>>DECLARE INTEGER ShellExecute ;
>>>IN SHELL32.dll ;
>>>INTEGER nWinHandle, ;
>>>STRING cOperation, ;
>>>STRING cFileName, ;
>>>STRING cParameters, ;
>>>STRING cDirectory, ;
>>>INTEGER nShowWindow
>>
>>This will work if the association has not been changed. In my case, when I click on an html, it opens the notepad window. :)
>
>z=ShellExecute(FindWindow( 0, _SCREEN.caption), "Open" , MonURL, "", "c:\temp\", 1)
>
>Note that i use "open" for cParameters cOperation , to open the notepad i should use "edit" if my association is logic!

OOPS!
>
>:)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform