Stuart McLachlan
stuart at lexacorp.com.pg
Tue Sep 21 22:03:21 CDT 2004
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