Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Launching Netscape
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00358240
Message ID:
00358435
Vues:
12
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform