navigate

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
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

open file 8
Print from IE 3
URL's in Custom Forms 1
Link in label tag work working 3
Hyperlink in Outlook form v2 5
SueHelpMe 1
Label click not working 6
using a command button to operate a hyperlink 5

Top