RE: Any solution yet for ... menu objects losing their connection

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



One way to get this to occur 100% of the time, close the file so word has no
document - then try to call "CommandBarControl.Enable = false;" - it will
always throw an exception.

--
thanks - dave


""Peter Huang" [MSFT]" wrote:

> Hi
>
> So far for the problem similar with your scenario, we use the try..catch to
> detected the error and then handle then in the catch block to retie the
> event.
> Here is the similar issue with you.
> http://groups-beta.google.com/group/microsoft.public.office.developer.com.ad
> d_ins/browse_thread/thread/31cf6a06b4f8b2ff/92c70fb930b49c2c?q=%22v-phuang%2
> 2+try+catch+group:microsoft.public.office.developer.com.add_ins&rnum=2&hl=en
> #92c70fb930b49c2c
>
> If I have any misunderstanding, please feel free to let me know.
>
> Best regards,
>
> Peter Huang
> Microsoft Online Partner Support
>
> Get Secure! - www.microsoft.com/security
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
.



Relevant Pages

  • Re: Managing a project with contractors: not intrerested in resource allocation
    ... It looks like Project is a good option in this scenario after all. ... >I went back and re-read the original message. ... >>> Dave C ...
    (microsoft.public.project)
  • Re: How to catch cross thread exceptioin
    ... For example, in the case of certain kinds of i/o operations, one way to manage a timeout is simply to close the i/o object from another thread when the timeout occurs. ... An alternative approach would be to simply have the main thread check for some state that's managed by the other thread, either throwing your "timout exception" when the state is set to some appropriate value, or simply handling the condition as if an exception had been thrown (depending on what works best for your design). ... There are in fact ways to generate exceptions in one thread from another, but they are all dependent on the specific scenario. ...
    (microsoft.public.dotnet.framework)
  • Re: whats the point in finally?
    ... Crouchez wrote: ... I don't understand why there is more use of resources either in Scenario B? ... catching and hiding Exception is such a dangerous thing to do ... // Clean up after blah ...
    (comp.lang.java.programmer)
  • Re: [Lit.] Buffer overruns
    ... >>You're making too much of Infobahn's little joke, Dave. ... My apologies. ... I'm used to ignoring spelling because ... > exception. ...
    (sci.crypt)
  • Stack unwinding
    ... called during stack unwinding caused by exception. ... Scenario 3 is not stack ... destructor of the object. ... local object defined; ...
    (microsoft.public.vc.language)