Grab the text of a COM popup dialog

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Thomas Canter (nxcdejfe_at_earthlink.net)
Date: 04/30/04


Date: Fri, 30 Apr 2004 12:12:16 GMT

Hi,
I'm attempting to manage a COM application (MS Project 2003).
I launch the app via a shell command and use getobject to get the com
reference to the app.

To make the application more robust, when an error message occurs in the
application, I get a COM exception. Before I close the application I want to
capture the error message in the application.

Any ideas about how to grab that text? I already have a Process structure
that has all the appropriate information for the application.

Thanks,
Tom



Relevant Pages

  • Re: Error - Error Accessing File. Network Conn..." File Corruption?
    ... > consuming problem receiving the error message "Error Accessing File. ... > truly clean up an mdb? ... Sometimes the app ... > - Does anyone know of a good site dealing with Access file corruption? ...
    (microsoft.public.access.formscoding)
  • Re: ASP.NET Authentication
    ... The process hosting the web app must have at least read ACLs for the web ... I have to log into the server to see a more enlightening message than "Runtime error" and then being directed to change the customErrors mode to off to view the specific error message. ... to start monitoring file changes" blah, blah, blah. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: I get the message Microsoft Office 2000 premium error 1706
    ... installed any app it couldn't replace. ... which can generally indicate something is broken in the installation, ... I then get a further error message ... The MS office 2000 was on a home user license from my old employer. ...
    (microsoft.public.word.docmanagement)
  • Re: XP-SP2 Suddenly Goes South
    ... I may have to write that app after all:-( ... Carl ... >> got an error message at the Welcome screen from ... >> with NAV, but that'll take all night and I thought I'd ...
    (microsoft.public.windowsxp.general)
  • Re: Office 2003 error message Errors Youre Getting??? References
    ... If you can't get any app ... go to Add/Remove and run Detect and Repair (Repair Install) from ... You receive an error message when you try to open or replace a Word 2003 ...
    (microsoft.public.officeupdate)