>Try This...
>
>>> Find out the local adapter address <<
>loSock = CREATEOBJECT('MSWinsock.Winsock')
>? loSock.LocalIP
>
I posted a link to an article I wrote specifically because the code above doesn't work when you have more than one network card installed in your machine.