>>* 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, to open the notepad i should use "edit" if my association is logic!
:)
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