|
-
May 27th, 2009, 03:41 PM
#1
Word Documents and the WebBrowser Control
I am loading a word document into the web browser control using code like this:
Code:
WebBrowser1.Navigate("C:\Docs\Test Documents\Test.doc")
When I do this, everything works fine and the user can use all of the toolbars.
However, if after I do that, I then open word outside of my app, all of the toolbars in the word document in my app become disabled.
I have done some searching and found other people have had this issue and this MS article mentions similar symptoms, but offers no solution.
http://support.microsoft.com/kb/243058/
Has anyone seen this before or found any way around it?
-
May 27th, 2009, 03:48 PM
#2
Re: Word Documents and the WebBrowser Control
Out of curiosity, when you close Word that you opened outside of your app, does it re-enable the toolbars?
-
May 27th, 2009, 03:52 PM
#3
Re: Word Documents and the WebBrowser Control
 Originally Posted by ForumAccount
Out of curiosity, when you close Word that you opened outside of your app, does it re-enable the toolbars?
Good question. No it does not.
-
May 27th, 2009, 05:08 PM
#4
Re: Word Documents and the WebBrowser Control
I found this, I'm not sure whether if it will work for you:
 Originally Posted by http://www.codeproject.com/KB/office/WordInDotnet.aspx?fid=220608&fr=26#xx0xx
I have got an easier option:
Problem 1: toolbar buttons disabled when user loads word outside your application
Cause : this is due to the fact that the application is changing normal.dot
solution: bind the application to a different normal.dot
-
May 27th, 2009, 06:20 PM
#5
Re: Word Documents and the WebBrowser Control
Hmmm... How can I do that loading it in a webbrowser though? I have no control over which normal.dot the document is going to load.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|