Running Programs on IP Change

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
 
M

Mark V

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?
 
D

Dave Patrick

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
 
M

Mark V

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....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top