Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Jul 2002
    Location
    Rockledge, FL
    Posts
    327
    Thanks
    23
    Thanked 11 Times in 11 Posts

    Error when opening Word (Office XP)

    When I open Word (with a document name provided in the shortcut used to open Word), I get the following error:

    Run-time error '-2147467259 (80004005)':
    Method 'Visible' of object 'CommandBar' failed

    This didn't happen until relatively recently. Maybe to do with incorrect removal of Woody's FieldSniffer? Error does not happen if I just start Word without a document name provided in the shortcut. and then open the document manually.

    Anyone have any ideas about how to get rid of this error ?

    Thanks

    Kevin

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Error when opening Word (Office XP)

    Does this happen with any document, any document based on a particular template, or only one particular document? If it's just one document, does it contain any startup code (e.g., in an AutoOpen or Document_Open procedure)? If it's limited to one template, same question, actually.

    If it happens with any document, there might be some kind of problem with one of the global templates (Normal.dot or an add-in) where it is responding to a document being opened (trying to display a toolbar) when it hasn't yet created the toolbar. Unless you or someone in your organization wrote the code, I'm not sure you could fix it, but if you can narrow down which one it is, you could complain to the source. <img src=/S/smile.gif border=0 alt=smile width=15 height=15> Phil Rabichow's <!post=Systematic Approach to Behavioral Problems in Word (97/2000),197827>Systematic Approach to Behavioral Problems in Word (97/2000)<!/post> describes a step-by-step approach to uncovering problem templates.

  3. #3
    3 Star Lounger
    Join Date
    Jul 2002
    Location
    Rockledge, FL
    Posts
    327
    Thanks
    23
    Thanked 11 Times in 11 Posts

    Re: Error when opening Word (Office XP)

    Thanks for that quick response. Like everything with confusers...one doesn't know everything <g>. I have used Word for about 15 years with large documents at work (writing software documentation for Government contracts always results in "large documents" <g>) but still learned stuff from your response. The problem here was with taskpanecontroller.dot. After I removed that everything was OK. As I said in the orig. post, it only seemed to happen when opening a document where I had a Word document specified in the shortcut to be opened when the shortcut was invoked. I also found a "Task Pane Controller" at www.wordsite.com which simplifies the management of the task pane controller.

    Thanks for the pointer to the excellent writeup on how to debug this issue.

    Regards

    Kevin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •