Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

We have an enterprise software that shows reports properly only in IE, but I don't want to set IE as my default browser.

The application is a WPF/Silverlight based desktop application - not a web app, but the reports are produced in HTML in the browser. I have found this answer, but didn't understand how the reg scripts exactly work and how should I customize it.

  • Our accounting software generates an HTML report. I can't control the doctype, HTML template or anything else.
  • The generated document (the report) opens up in a browser in a local URL:

    file:///D:/Users/ALONIS~1/AppData/Local/Temp/p0430400234.htm

share|improve this question
    
Please add an example report and the format of its URL. –  amiregelz Aug 20 '12 at 9:09
1  
What are you really trying to do? –  kinokijuf Aug 20 '12 at 9:54

2 Answers 2

up vote 3 down vote accepted

The best way to achieve your goal, is by using the IE Tab extension for your default browser (Firefox / Chrome).

Instead of trying to set a default browser for a specific application on the Windows side - which is way more complicated, do it on the browser side.

What Is IE Tab?

IE Tab for Chrome (and IE Tab 2 for Firefox) is a browser extension that allows you to use Internet Explorer to display web pages in a tab. This is useful in many cases where a web page requires Internet Explorer features.

Features

Auto URLs - Allows you to specify which URLs should always be loaded with IE Tab.

As you can see, the reason IE Tab is very useful in your case, is because it has the Auto URLs feature.

Instead of settings a specific browser for a specific application, you can simply tell IE Tab to be activated whenever you launch a certain URL.

And even better - it supports Regular Expressions, so whether your report is created as an html file offline (locally) or online, it will be very easy to tell IE Tab to always open your reports - which lets you view them in an IE environment - inside your default browser.

For example, if you reports are online, you can add http://www.myonlinereports.com/* to the Auto URLs to automatically open in IE Tab every page of the www.myonlinereports.com website.

If you reports are offline, you can add something like r/file:///D:/My%20Documents/My%20Reports/.* (don't forget the r/ prefix) to the Auto URLs to automatically open in IE Tab every file inside the My Reports folder.

enter image description here

share|improve this answer
    
also not the exact solution to my problem, this goes for giving some bearable solution, thanks –  alonisser Aug 20 '12 at 20:39

Can you give a sample of the report? What exactly doesn't work in other browsers?

On the SE network, it's often better to give the reader an idea of the big picture and what you're trying to do. My say is that it shouldn't have any major problems in today's age of standard-compliant browsers (even IE9! Can you believe that?)

If you do have problems, you can try changing the DOCTYPE to maybe something very old which will cause browsers to enter into quirks mode (equivalent of IE's Compatibility Mode).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.