windows - Block MsgBox From External Application Using VB.Net -


is there way intercept msgbox() external application , block using vb.net?

for discussion, let's msgbox title "sql application" , message "sql error - try again".

i have found examples of looking msgbox pop-up (by watching window title) , sending key(s) press ok, curious if whole process avoided. otherwise, user still sees msgbox or "flash", if it's temporary.

is possible avoid this?

well, detours (see http://research.microsoft.com/en-us/projects/detours/), , write detour messagebox load process, there several issues:

1) it's 32 bit only, unless pay pro version 2) development effort involved may non-trivial, esp if dont have lot of inhouse c/c++ experience. suppose write managed wrapper detours, sounds kind of involved too. 3) cant use commercially without pro version.

is app you've inherited?


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -