Click to See Complete Forum and Search --> : Intercept duplicate IP address dialog, WMI?


roger_man
January 23rd, 2006, 05:07 PM
Hi,

I am trying to determine if there is a way to intercept and / or disable a particular windows dialog box from appearing on my system.

If a machine joins the network that has the same static IP as my machine (both machines have static IPs, I cannot use DHCP for reasons I can't get into here), then Windows XP produces the dialog:

"There is an IP address conflict with another system on the network."

I am looking to do 2 things:

1. Is there a way to intercept this dialog and get information on the machine that has caused this error? I Googled and found some information on WMI, but I'm not sure if this is the answer. Can I create a COM object that uses WMI to intercept these events?

2. Is there a way to get Windows to not display the dialog when this happens? This dialog actually interferes with other executables I have running, and if I could intercept the message and do my own thing with it, that would be much preferable to letting Windows display its own dialog for this.

Thanks so much for any and all insights.

roger_man