ip/mac/.. worries

ip/mac/.. worries

Post by rmanch » Sun, 22 Jan 2006 13:49:16



i need to write a small module that fetches a document from a server
and at the same time need to supply the following (rather extensive)
info, for logging purposes.

logged in username - done (by calling windows api)
machine name - done (by calling windows api)
mac address - done (resolved on the server - mssql database)
ip address - ???

althoug ARP and ipconfig reveals the ip-address, how can i get the
ip-addr into VBA (so that i can send it) ?

note: calling third party api's or api's not installed by default is
not viable.

:) haaaaallllppppp :)

thanx
riyaz