?
Solved

Network Drive Availability Check

Posted on 2001-07-16
3
Medium Priority
?
177 Views
Last Modified: 2010-04-06
Can anyone point me in the direction of a component or routine that will check if a network drive is still accessable without hangint the P.C.


Ta!
0
Comment
Question by:chunky1
3 Comments
 
LVL 1

Expert Comment

by:darkloser
ID: 6287073
listen...
0
 
LVL 4

Accepted Solution

by:
YodaMage earned 20 total points
ID: 6287542
Try to read or write to it in a try except test, return a boolean of true in the try, false in the exception.
0
 

Expert Comment

by:Yunoshev
ID: 6289956
if (GetDriveType(RootPathName) == DRIVE_UNKNOWN)
{
  ...........
}
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question