I am using a VB6 app and I want to determine if the user is connected to our company network. I had hoped to use api calls such as RasEnumConnections or RasGetConnectionStatistics to accomplish this by determining a connection to a known server, but I cannot find sufficient documentation (code samples) to get them to work. I've already tried Googling, AllAPI.com, and other sites, but as I said, I can't find well documented code that works.
Thanks in advance for your assistance. Specific code samples would be greatly appreciated.