tiago.teixeira
April 10th, 2007, 06:28 AM
Hello,
I'm using a 3rd part DLL via Add reference i my C# project and sometimes the DLL generate a messagebox with an error and an OK button.
I would like to know if its possible to automatically and programatically do the "OK Click" or how to destroy this window.
This windows is not a separeated proccess so i cannot kill it using System.Diagnostics.Process any idea?? I heard about windows handle and maybe with p/invoke but i can see how can i do it.
Thanks in advance,
Teixeira
I'm using a 3rd part DLL via Add reference i my C# project and sometimes the DLL generate a messagebox with an error and an OK button.
I would like to know if its possible to automatically and programatically do the "OK Click" or how to destroy this window.
This windows is not a separeated proccess so i cannot kill it using System.Diagnostics.Process any idea?? I heard about windows handle and maybe with p/invoke but i can see how can i do it.
Thanks in advance,
Teixeira