Running Programs on IP Change

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

Is there a place in the registry that allows programs to be executed upon an
IP change. I have a problem that a program needs to be initiated when the IP
changes due to a VPN client login. A program that I have designed needs to
be executed after the VPN gives me a new address. Is this doable through a
registry key. I have found the key that allows me to run programs on
startup, but I need this to be when the VPN gives a new IP to the box.

Any help would be greatly appreciated,
Andras Vancsa
 
In microsoft.public.win2000.registry
=?Utf-8?B?QW5kcmFzIFZhbmNzYQ==?= said:
Hello,

Is there a place in the registry that allows programs to be
executed upon an IP change. I have a problem that a program needs
to be initiated when the IP changes due to a VPN client login. A
program that I have designed needs to be executed after the VPN
gives me a new address. Is this doable through a registry key. I
have found the key that allows me to run programs on startup, but
I need this to be when the VPN gives a new IP to the box.

Not certain this helps, but have you considered starting your VPN
connection from a batch file that subsequently (possibly after a wait
time or a other confirmation) starts your program?
 
No, nothing like that would exist natively.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Hello,
|
| Is there a place in the registry that allows programs to be executed upon
an
| IP change. I have a problem that a program needs to be initiated when the
IP
| changes due to a VPN client login. A program that I have designed needs
to
| be executed after the VPN gives me a new address. Is this doable through
a
| registry key. I have found the key that allows me to run programs on
| startup, but I need this to be when the VPN gives a new IP to the box.
|
| Any help would be greatly appreciated,
| Andras Vancsa
 
In said:
In microsoft.public.win2000.registry


Not certain this helps, but have you considered starting your VPN
connection from a batch file that subsequently (possibly after a
wait time or a other confirmation) starts your program?

Not my area and OT for the OP, but it seems one might write a program
that subscribes to the SENS network events notifications....
 
Back
Top