Is there an API or another method to ping a server from VB.
I am using CreateObject with a remote server to call a DLL I wrote, but if the user gives the wrong server name, the CreateObject takes about a minute to raise an error. If I go to DOS and ping the name, I get my answer in a few seconds.
Does anyone know how to ping from VB, so I can speed up my app?
Thanks. [sig][/sig]
I am using CreateObject with a remote server to call a DLL I wrote, but if the user gives the wrong server name, the CreateObject takes about a minute to raise an error. If I go to DOS and ping the name, I get my answer in a few seconds.
Does anyone know how to ping from VB, so I can speed up my app?
Thanks. [sig][/sig]