Word Menubars

C

chris mcilvoy

Problem is when I open word doucment in IE it does not have any menubars. I
am using the standard code to open a word document in the browser window.(IE
6.0) with both Office 2000 & Office 2003.
Response.ClearContent();
Response.ClearHeaders();
Response.ContentType = "application/msword";
Response.Charset = "";
Response.ContentEncoding = System.Text.Encoding.Default;
Response.WriteFile((sFileName)+".doc");
Response.Flush();
Response.End();

I also added this line to my c# code
object Formatting = "Formatting";
object menuBar = "Standard";
oWord.CommandBars[menuBar].Position =
Microsoft.Office.Core.MsoBarPosition.msoBarFloating;

I just need to get the standard menubars (standard, formatting) to open with
word in the browser. Any help is appreciated. Thanks-Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top