Blocking Popup Error Message Window

Hi:

  Is there any way that I can Prevent Popup Error messages from being displayed by an application in windows

  i.e. I have an application that displays an SQL error message window.

  At the same time that this error message window pops up I want an application window that I make to pop up instead.

  so I want my own message window to pop up and the error message window to be terminated... is there any possible way of doing this

  does anyone have any any advice or knowladge about terminating message windows from another windows application

thankyou very very much,
karl


Answer this question

Blocking Popup Error Message Window

  • denisemc

    on the UI Level, I try to put try catch blocks around every single UI event (i.e. button click, etc.) and put a dialog message there

    For the most severe errors - in the Main method, I always put a try catch there, the app will still shut down but I get to do so more gracefully

  • Clint.

    Thankyou for the reply,

    The application that displays the sql error message is not mine.

    I, however am causing the sql error to be thrown from the database.

    I need to prevent the sql error msg window from poping up and pop up my own windows form application instead.

    There are a few options for how this could possibly be done, to begin with:

    Is it possible for one windows application to kill a process in another windows application

    Is it possible for one windows application to say 'ok' or close another windows form

    thankyou,
    karl

  • Blocking Popup Error Message Window