I'm writing an app in VB 6.0, and need to be able to retrieve the IP address of the machine the app is running on at runtime.
We're talking to a network element via SNMP, the SNMP is done through a third-party control we purchased. Unfortunately the 3rd party ctrl has a bug and doesn't always return the right IP address (!?! don't ask).
Anyway I was wondering if anyone knew a direct windows API I could call to retrieve the local IP. thanks.