Results 1 to 3 of 3

Thread: Do Anyone know about Wake on LAN (WOL)??

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2006
    Posts
    61

    Exclamation Do Anyone know about Wake on LAN (WOL)??

    Do Anyone know about Wake on LAN (WOL)?? I am doing a project on this. My objective is to WOL a computer which is connected to my server. Can anyone give me any advise? I'm using VB 6 to do it.

    http://www.freevbcode.com/ShowCode.asp?ID=871 its a class for wake on LAN (WOL) but i really don't have any idea how to use it. Please guide me.

    Have anyone ever try and succeed in this please share your experience. Thanks alot

  2. #2
    Frenzied Member the182guy's Avatar
    Join Date
    Nov 2005
    Location
    Cheshire, UK
    Posts
    1,473

    Re: Do Anyone know about Wake on LAN (WOL)??

    That class looks okay but it seems you need to know the MAC address of the network interface card of the target computer, use the class like this:
    VB Code:
    1. Dim Test As CMagicPacket
    2. Set Test = New CMagicPacket
    3.  
    4. Test.WinsockControl = Winsock1
    5. Test.IPSubnetAddress = "192.168.1.0"
    6. Test.IPSubnetMask = "255.255.255.255"
    7. Test.NICAddress = "MAC Address HERE"
    8.  
    9. Test.WakeUp
    Chris

  3. #3

    Thread Starter
    Member
    Join Date
    Feb 2006
    Posts
    61

    Talking Thanks

    Thanks alot.. I will try it and post up the results Thanks again...

Posting Permissions

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



Click Here to Expand Forum to Full Width