Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Launching Netscape
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00358240
Message ID:
00358435
Views:
9
Erik,

Thanks so much for this information. Makes my life much easier!!!

>>Hi all!
>>
>>I use IE and don't have access to a machine with Netscape. Can anyone tell me how to change the following code to launch Netscape?
>>
>>goBrowser = CREATEOBJECT("InternetExplorer.Application")
>>goBrowser.Navigate2("http://www.brampwood.com")
>>goBrowser.VISIBLE = .T.
>>
>>Also, I need to know the value of the following registry key when Netscape is installed as the default browser:
>>
>>HKEY_CLASSES_ROOT\HTTP\shell\open\ddeexec\Application
>>
>
>you don't need to know the default browser, or know brwoser specific code to launch a website, ShellExecute will do it all for you:
>
>DECLARE INTEGER ShellExecute IN "Shell32.dll" INTEGER, STRING, STRING, STRING, STRING, INTEGER
>
>=ShellExecute(0,"Open","http://www.levelextreme.com","","",0)
>
>this will use the default browser to navigate to the specified website.
Brien R. Givens

Brampwood Systems
Previous
Reply
Map
View

Click here to load this message in the networking platform