OT: determining if on a network (windows)

Glenn Mabbutt gmabbutt "at" quartetservice.com
Tue, 09 Jan 2001 21:08:30 +0000


This isn't specifically a VNC question, however many people on this list are
quite knowledgeable about Windows, and it does relate to a project I'm doing
with VNC:

I would like to run a short program/script at bootup (specifically for
laptops) that determines if the laptop is on a network or not (ie, going to
be using dial-up), and then installs a different AuthHosts registry key
based on the results.  This needs to run on Windows 95/98 and on NT.

Has anyone done this or knows of a solution for this??

Thanks,
Glenn
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo "at" uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------