Network adapter bindings

Al H <[email protected]> Fri, 08 Aug 2003 22:34:32 -0700
Newsgroups gmane.comp.lang.delphi.programming
Message-ID <[email protected]>
Would there be a way to manipulate network adapter bindings using
Delphi?  Here is the challenge:

When I need to connect to an exchange server using Outlook, I have to
use Checkpoint Securemote to do so.  Securemote has a protocal that
has to be bound to the network device when in use.  I don't want this
binding active except when I am actually going to use Outlook.  Also,
when using Outlook, I have to change settings in hosts and LMHosts to
point to a different IP address than when I'm using Outlook Express.

I currently have a .BAT file that loads the different hosts/LMhosts
files that are configured for the Exchange server, then reminds me to
change the network bindings and reboot.

Now what I'd really like to do is instead of using a bat file, use a
one step program that will do the host/LMHost switching, toggle the
network binding, and ask if I want to reboot, then perform the reboot
on a yes response.

I'm ok with every part except toggling the network binding. Would
Delphi have the right power to do this?  

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/i7folB/TM
---------------------------------------------------------------------~->

CodeCoffer - new Delphi code protection Tool!
http://www.delphicollection.com/public/CodeCoffer.htm
---------------------------------------------------------------
Unsubscribe:[email protected]
List owner:[email protected]
--------------------------------------------------------------- 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/