• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 291
  • Last Modified:

Mozilla Browser control & Word Documents

Is it possible to open Microsoft word documents directly in the Mozilla Browser control
(http://www.iol.ie/~locka/mozilla/control.htm#download)?  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);
1 Solution
Jesse HouwingScrum Trainer | Microsoft MVP | ALM Ranger | ConsultantCommented:
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.

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now