intranet site hyperlink to open url from another browser. ASP Web, visual studio 2013 vb

I am building an intranet site.  One of our onsite links needs to only open in IE Explorer.  This is not working if they open up the intranet in Chrome or Firefox because these is no way to force the hyperlink to open the page in Internet Explorer.

For example when people go to the intranet site using google chrome which is there default browser.  I want them to be able to click on a hyper link that will open the URL in internet Explorer.  Sounds easy enough but looks like in Chrome and Firefox there are restrictions

Any help would be appreciated
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David Johnson, CD, MVPOwnerCommented:
what you are trying to do is considered 'executing a program on the users computer using the following parameters'  this is forbidden. a work around is to have them download a batch file. and run it..
Julian HansenCommented:
You can't do that - the method by which the link is opened is determined on the computer - the browser does not have permissions or access to overwrite that.

What you can do is put script on your page that detects if the browser is IE and if it is not - prevents access.
bidgadgetAuthor Commented:
I tried to use a vb form a create a button.  Works when I run it local in visual studio but when I run live I get an error that says can not create active x component.

 Dim TheBrowser As Object = CreateObject("InternetExplorer.Application")
        TheBrowser.Visible = True
Introduction to R

R is considered the predominant language for data scientist and statisticians. Learn how to use R for your own data science projects.

Julian HansenCommented:
when I run live I get an error that says can not create active x component
Where are you trying to run it live?
Are you using at as a complied application or a web form?
How is this going to help you with the original question?
bidgadgetAuthor Commented:
Well I figured I couldn't do it from a URL so I tried to add a button to the aspx page with the above code

Works perfect when I debug from within the application but when I publish it and access it from url, I hit the button and get

Server error in / application
Cannot create activex component

The line that is singled out as the cause is
Dim the browser as object = ....  From above
Julian HansenCommented:
... except that is never going to work in the browsers you are trying to target (FF and Chrome).

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
David Johnson, CD, MVPOwnerCommented:
what you need to do is check the user agent in your code behind.
one method is shown @

on your page you will have 2 links hidden by default. if name="InternetExlorer" display a regular link to the internet site otherwise show a link to download and run the batch file that I described before
%programfiles(x86%)\internet explorer\iexplore.exe http://urltointranetrsite
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Browsers

From novice to tech pro — start learning today.