[AccessD] A2K: Getting MAC Address

Erwin Craps - IT Helps Erwin.Craps at ithelps.be
Wed Sep 22 00:38:52 CDT 2004


The first adapter could be (when wrongly configured) a RAS adapter that
has no connection.
That returns a 0...

You must loop until you find the right adapter.

Erwin

-----Oorspronkelijk bericht-----
Van: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] Namens Darren DICK
Verzonden: woensdag 22 september 2004 5:23
Aan: 'Access Developers discussion and problem solving'
Onderwerp: RE: [AccessD] A2K: Getting MAC Address

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

--
_______________________________________________
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