I have succesfully found out how to use WOL (Wake On Lan) to turn on a computer with Visual Basic.

But this however only works with LAN it seems.

I have tried changing the UDP broadcast subnet from "255.255.255.255" (LAN) to something according to the IP address of the PC I wich to wake up (was told this was possible at www.planetsourcecode.com but could not get it to work)

PLEASE ADVICE!!!!!!!!!!!