Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Forcing Hyperlink to open using Internet Explorer

Status
Not open for further replies.

Diezz

Technical User
Dec 24, 2004
61
NL
Hello,

I have a buton on my form witch opens a link, for example.

I'm using as my default browser Mozilla Firefox and i'ld like it if i don't change that.

Can i set the buton somehow to force the opening of the link using Internet Explorer?

Thanks
 
How about shell?

Code:
Const APP_PATH As String = _
        "C:\Program Files\Internet Explorer\iexplore.exe"
strLink = "[URL unfurl="true"]http://www.tek-tips.com"[/URL]

strCommand = """" & APP_PATH & """" & " " & """" _
        & strLink & """"

retval = Shell(strCommand, vbNormalFocus)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top