Darren DICK
d.dick at uws.edu.au
Tue Sep 21 22:22:52 CDT 2004
Thanks I'll give it a go See ya -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 22 September 2004 1:03 PM To: Access Developers discussion and problemsolving Subject: RE: [AccessD] A2K: Getting MAC Address On 22 Sep 2004 at 12:32, Darren DICK wrote: > If I change that line to Do While pAdapt = 0 it works as expected with > The relevant MSGBOX's but of course it puts itself into an endless > loop > > Any idea why the pAdapt bit is returning 0?? > No idea, it works fine on this machine. You could try dropping the loop code completely and just doing a single pass through. That will always return the values for the first adapter if you have one. -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com