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
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