Perfect... a little cryptic for my level but exactly what I'm after. cParams="http://www.flyer.co.uk" ... is this a default if I don't pass the intended destination.
Gary -----Original Message----- From: Dave Crozier [mailto:[email protected]] Sent: Wednesday, August 10, 2011 5:20 AM To: ProFox Email List Subject: RE: call different browser Gary, Its easy: DECLARE INTEGER ShellExecute IN shell32.dll ; INTEGER hndWin, ; STRING cAction, ; STRING cFileName, ; STRING cParams, ; STRING cDir, ; INTEGER nShowWin cParams="http://www.flyer.co.uk" cDirectory="c:\Program Files(x86)\Mozilla Firefox\" cFileName = "firefox.Exe" cAction = "open" ShellExecute(0,cAction,cFileName,cParams,"",1) The only thing to be careful about is cDirectory as on 64bit OS it isn't "Program Files" as on 32bit it is "Program Files(x86)". You can do an API call to retrieve the generic Windows Program Files folder but I'm a little busy now or I'd sort it out but it isn't difficult. Dave -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Gary Jeurink Sent: 07 August 2011 16:53 To: [email protected] Subject: call different browser A few year's back, I asked for code to attach to a button to call internet explorer and go to a specific URL. I didn't understand it but it worked great. Now I want to do the same thing but I want to call up firefox instead. My current version of I.E. can not do flash because of the 64 bit problem. Firefox doesn't care. Can anyone help me. I have a program called GoURL and my button code is : do c:\alldat2\programs\GoURL with venders2.website Gary Jeurink --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- [excessive quoting removed by server] _______________________________________________ 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/81CB7086925E42C5A8D6F488AF7A7124@OwnerPC ** 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.

