RUN "START http://google.com";

OR

   LOCAL oShell as wscript.shell
   oShell = CREATEOBJECT("wscript.shell")
   oShell.Run("http://google.com";)
   oShell = .NULL.


OR

   DECLARE INTEGER ShellExecute IN Shell32.DLL ;
      INTEGER nWinHandle, ;
      STRING  cOperation, ;
      STRING  cFileName,  ;
      STRING  cParameters, ;
      STRING  cDirectory,  ;
      INTEGER nShowWindow

   ShellExecute(0, "OPEN", "http://google.com";, "", "", 1)


-----Original Message-----
From: Kent Belan
Sent: Thursday, December 18, 2008 1:52 PM

Hello,
I want to open a website in the users default browser.

Has anyone done this or have some VFP9 code to share ?

Thanks and Merry Christmas,
Kent




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/000001c96149$c3a33610$4ae9a2...@com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to