leavinmate
asked on
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);
}
(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
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.