navigate

  • Thread starter Thread starter Joel Allen
  • Start date Start date
J

Joel Allen

Hello,

I use some code in my custom form to navigate to a website like this:

Set objWeb = CreateObject("InternetExplorer.Application")
objWeb.Navigate http://www.msn.com
objWeb.Visible = True

However, I want to use Mozilla Firefox instead if IE. Can someone help me
with the code to do this?

Thanks,
Joel
 
One way is to retrieve the installed path of the Firefox .exe by looking
through the keys in HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet.
Take a look at the \shell\open\command sub key for finding the executable
name. Then use Windows Scripting Host to launch that application with a URL
as the argument.

--
Eric Legault [MVP - Outlook]
MCDBA, MCTS (Messaging & Collaboration, SharePoint Infrastructure, MOSS 2007
& WSS 3.0 Application Development)
Collaborative Innovations
NEW! -> Try Picture Attachments Wizard 2.0 For Microsoft Outlook <-
Web: http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault
 
Back
Top