Hi Anatoliy,
Thanks for the reply. The solutions you listed are available to that site's members only.
Received a 2 liner from Hugo Ranea/Sergey Berezniker which works for me.
Thanks, again
>Hi Ashley,
>
>This example uses GetAdaptersInfo API function:
>
How to retrieve adapter information for the local computer (including MAC address)>
http://www.news2news.com/vfp/?example=347>
>This one uses Winsock API functions gethostname, gethostbyname:
>
Winsock: retrieving the standard host name and IP address for the local machine>
http://www.news2news.com/vfp/?example=215>
>You can ping local computer using IcmpSendEcho API function to get its ip address:
>
How to ping a remote site using ICMP API calls>
http://www.news2news.com/vfp/?example=486>
>And Winsock OCX of course...