The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.
One of a set of tools we're offering as a way of saying thank you for being a part of the community.
Use the SetWindowsHookEx API call
example
SetWindowsHookEx(WH_CALLWN
this isn't a working example but the hook procedure.....
check the win32 help file for mre details
Later
BoRiS