Thom
Mar 15th, 2001, 02:27 PM
Well I WAS willing to search first-but the search function is disabled! SO...How can I use API calls to help my client-server VB6.0 app determine if the Server is on/running??
The users will need to save their info into files in the App's subdirectory-but I need to make sure the Server is on & running BEFORE the app tries to save-otherwise it will cheerfully tell the user everything worked & end-but nothing gets saved!
So what API calls can I use to have the app check to make sure the server is on before the user saves?
Will GetComputerName, GetComputerNameW or GetSystemPowerStatus work to get the Server's name? But then How do I check for its on/off status? I'd appreciate ANY help-thanks very much!
The users will need to save their info into files in the App's subdirectory-but I need to make sure the Server is on & running BEFORE the app tries to save-otherwise it will cheerfully tell the user everything worked & end-but nothing gets saved!
So what API calls can I use to have the app check to make sure the server is on before the user saves?
Will GetComputerName, GetComputerNameW or GetSystemPowerStatus work to get the Server's name? But then How do I check for its on/off status? I'd appreciate ANY help-thanks very much!