markf

markf

  • NA
  • 1
  • 0

monitoring other applications using c#

Apr 29 2004 10:58 AM
hello, is it possible to run a VB6 exe and capture any system generated (unhandled by the VB6 exe) errors? For instance, using System.Diagnostics.Process I can run the exe, pass parameters and kill the exe if I want to. Let's say I have a simple exe that divides, x/y. If y=0 then a "division by zero" error is displayed. Is there a way to catch that error in c# and prevent it from displaying? Thanks

Answers (1)