Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    May 2004
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    WinXP: de/activate NIC by system interface/API calls?

    Hi,

    I'm not sure if I am in the right forum here .... so if I am wrong here, please point me to the right forum.

    Now my question:
    Is there a possibility to deactivate and activate a NIC with a (API) function or another Windows (XP) system interface/system call?

    I would like to create a small programm which has the same effect as right-clicking on the network connection and selecting "Activate" or "Deactivate".

    Thanks,
    joft

  • #2
    Regular Coder
    Join Date
    Feb 2003
    Posts
    638
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Scripting Shell object methods would probably do it.

    Are "Activate" & "Deactivate" the actual menu verbs, or are those "Enable" & "Disable"?
    hmm... ?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •