On Mon, Aug 8, 2011 at 7:09 PM, Gary Jeurink <[email protected]> wrote:
> I am self taught and know very little about exe and com. I make forms that
> call other forms and store procedures like GoURL in the program directory
> and attach them to the click method of a button. Below is GoURL
> FUNCTION GoURL
> **********************
> * CALL UP WEB BROWSER
> **********************
> LPARAMETERS tcUrl
>
> tcUrl = IIF(type("tcUrl")= "C",tcUrl,;
>            "http://microsoft.com/";)
> DECLARE INTEGER ShellExecute ;
>  IN SHELL32.dll ;
>  INTEGER nWindowHandle, ;
>  STRING cOperation, ;
>  STRING cFileName,;
>  STRING cParameters,;
>  STRING cDirectory,;
>  INTEGER nShowWindow
>
> DECLARE INTEGER FindWindow ;
>  IN WIN32API ;
>  STRING cNull,STRING cWinName
>
> RETURN ShellExecute(FindWindow(0,_SCREEN.caption),;
>                    "Open",tcUrl,"","c:\temp\",0)
>
> And I call it with a DO ... WITH
--------------

This call asks the OS to open the browser selected as "Default."

What you want is to have multiple requests for FireFox, Chrome, etc ?

Or do you just want to change "your" default to FireFox and have it
auto open all the time?


-- 
Stephen Russell

Unified Health Services
60 Germantown Court
Suite 220
Cordova, TN 38018

Telephone: 888.510.2667

901.246-0159 cell

_______________________________________________
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/CAJidMYLCt5RMcoEjO04JCPKYKXk=tv6a39q36jq5u8x8422...@mail.gmail.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