Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Monitoring Network availbility and Windows Service in VC6 [modified]

Monitoring Network availbility and Windows Service in VC6 [modified]

Scheduled Pinned Locked Moved C / C++ / MFC
csharpdotnetsysadminhelptutorial
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Logan from Singapore
    wrote on last edited by
    #1

    Hi, I am looking for the way to write 1) a Windows Service in VC6 and 2) a method to monitor network availablility in VC6. I have actually done a service that will monitor the network availablility in VS2005 but due to some situation, I am not allowed to have .Net framework 2.0 on the system that I want to install this service. I am looking for the equivalent of

    using System.Net.NetworkInformation;
    NetworkChange.NetworkAvailabilityChanged += OnAvaiabilityChanged;
    

    in VC6 and also maybe an article of how to write a Windows Service in VC6. Any help will be appreciated. :-D

    People live with their choices.

    modified on Tuesday, May 20, 2008 1:54 AM

    L 1 Reply Last reply
    0
    • L Logan from Singapore

      Hi, I am looking for the way to write 1) a Windows Service in VC6 and 2) a method to monitor network availablility in VC6. I have actually done a service that will monitor the network availablility in VS2005 but due to some situation, I am not allowed to have .Net framework 2.0 on the system that I want to install this service. I am looking for the equivalent of

      using System.Net.NetworkInformation;
      NetworkChange.NetworkAvailabilityChanged += OnAvaiabilityChanged;
      

      in VC6 and also maybe an article of how to write a Windows Service in VC6. Any help will be appreciated. :-D

      People live with their choices.

      modified on Tuesday, May 20, 2008 1:54 AM

      L Offline
      L Offline
      Logan from Singapore
      wrote on last edited by
      #2

      Replying to my own message... I have found the method of achieving both items that I was looking for. I just want to close this message in case anyone is also looking for anything like this. 1) For writing a Windows Service in VC6, I have found a great article on CodeProject http://www.codeproject.com/KB/system/serviceskeleton.aspx\[[^](http://www.codeproject.com/KB/system/serviceskeleton.aspx "New Window")]"> 2) For this, it is more tricky. I have found a service called Network Location Awareness and by doing a search on the internet for this, you will find some very useful information or you can have a look at this article http://www.codeproject.com/KB/IP/NLA.aspx\[[^](http://www.codeproject.com/KB/IP/NLA.aspx "New Window")]"> Hope this information is useful and thanks to anyone that have given a thought to my questions. Cheers :-D

      People live with their choices.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups