Results 1 to 5 of 5

Thread: Word Documents and the WebBrowser Control

  1. #1

    Thread Starter
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367

    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?

  2. #2
    Master Of Orion ForumAccount's Avatar
    Join Date
    Jan 2009
    Location
    Canada
    Posts
    2,802

    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?

  3. #3

    Thread Starter
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367

    Re: Word Documents and the WebBrowser Control

    Quote Originally Posted by ForumAccount View Post
    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.

  4. #4
    Master Of Orion ForumAccount's Avatar
    Join Date
    Jan 2009
    Location
    Canada
    Posts
    2,802

    Re: Word Documents and the WebBrowser Control

    I found this, I'm not sure whether if it will work for you:

    Quote 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

  5. #5

    Thread Starter
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367

    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
  •  



Click Here to Expand Forum to Full Width