Solved

Network Drive Availability Check

Posted on 2001-07-16
3
168 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
Comment Utility
listen...
0
 
LVL 4

Accepted Solution

by:
YodaMage earned 10 total points
Comment Utility
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
Comment Utility
if (GetDriveType(RootPathName) == DRIVE_UNKNOWN)
{
  ...........
}
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now