CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2008
    Posts
    6

    WEP off, still getting "unexpected failure...needs to close" window

    Is there a way to completely turn off error messages in windows xp/vista/w7? WEP is already disabled so please don't respond with how to do that =)

    My application starts other apps that I didn't write and if they crash my application hangs until I click ok on the message window. My application depends heavily on the termination of the other apps but using other methods to spawn them as seperate processes is not an option because of conflicts.

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: WEP off, still getting "unexpected failure...needs to close" window

    Just don't make any mistakes!
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Jun 2008
    Posts
    6

    Re: WEP off, still getting "unexpected failure...needs to close" window

    If they were my mistakes I could correct them. Unfortunately I have no control over how well the applications run that I am calling/spawning. The app crashes are (or seem) random and although they are not frequent, they occur often enough for me to seek a solution.

  4. #4
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: WEP off, still getting "unexpected failure...needs to close" window

    Create a TRY/CATCH block around the calling code, so you can trap errors
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

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

Featured