Mozilla Browser control & Word Documents

Posted on 2004-12-01
Last Modified: 2010-04-15
Is it possible to open Microsoft word documents directly in the Mozilla Browser control
(  This control has the same interfaces as the WebBrowser control from MS, but I can't get the control to open word Docs with the Navigate message.

Instead I get a prompt to select program and then it opens the doc in word.

All I have is a form with the control, AxBrMoz, and a button.

Here's the button code:

private void button2_Click(object sender, System.EventArgs e)
    System.Object nullObject = 0;
    String fName = "c:\\MyResume.doc";

    axBrMoz.Navigate(fName,ref nullObject,ref nullObject,ref nullObject,ref nullObject);
Question by:leavinmate
    1 Comment
    LVL 17

    Accepted Solution

    Unless the mozilla you're opening has a wordviewer plugin installed it will always offer to download the file. Mozilla just doesn't know how to display a word document in the browser.

    The Microsoft Word Viewer plugin will give you the support you're looking for:

    But please note that this is only allows to view (not edit) the worddocument in Mozilla.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Suggested Solutions

    Article by: Ivo
    Anonymous Types in C# by Ivo Stoykov Anonymous Types are useful when  we do not need to follow usual work-flow -- creating object of some type, assign some read-only values and then doing something with them. Instead we can encapsulate this read…
    Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    6 Experts available now in Live!

    Get 1:1 Help Now