[AccessD] This is why i love C#

Jim Lawrence accessd at shaw.ca
Fri Apr 16 13:09:18 CDT 2010


Very cool John.

Jim



-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby
Sent: Friday, April 16, 2010 6:58 AM
To: Access Developers discussion and problem solving; VBA
Subject: [AccessD] This is why i love C#

I use virtual machines to do some processing.  When not using the VMs I turn
off the entire physical 
machine that hosts the VMs.  I have code that needs to move files to / from
the VMs, but I need to 
check that they exist before I try to do so.

The .Net framework has an entire namespace for the Net and it specifically
has a PING class which 
allows me to ping an IP to see if it responds.  Voila, instant "is the
machine turned on" code.


-- 
John W. Colby
www.ColbyConsulting.com
-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com




More information about the AccessD mailing list