Checking for Drive Media

Screen-shot

This program checks the removal and CD-ROM drives for Diskettes, you can either specify a drive or let the program checks all drives on the computer.

The idea of checking disk existance depends on changing the current path to the path of the drive, if an error occurred (with the code 75), that means the computer isn't able to change the path. Consequently, there is no disk in the drive.

The project consists of:
  1. A module where all the functions , declarations and constants are found
  2. A form to demonstrate how to use the module.

The programs input is either the letter of the drive you want to check or just let the program check all drives.

The output is a msgbox specifing whether there is a disk in the drive or not. The program checks the removal or CD-ROM drives only.

The attached zip file contains all neccessary files, the ScreenShot file is a screen shot of the program in case you need it.

Download zipped Project file (3k)



Comments

  • Help From You

    Posted by Legacy on 05/10/2001 12:00am

    Originally posted by: Asif

    I want to have security to my priject
    for the purpuse of external security i want Key Disk
    I am unable to locate code for that your website is not working properly so please send the code through e-mail if possible do me this faver. i will be grateful to you

    Thank you

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • 10 Rules that Make or Break Enterprise App Development Projects In today's app-driven world, application development is a top priority. Even so, 68% of enterprise application delivery projects fail. Designing and building applications that pay for themselves and adapt to future needs is incredibly difficult. Executing one successful project is lucky, but making it a repeatable process and strategic advantage? That's where the money is. With help from our most experienced project leads and software engineers, …

  • IT decision support impacts all aspects of technology management, from governance and strategy to budgets and resource planning. IT decision support effectiveness often falls prey to data-driven challenges that make it difficult to understand the data in context. These challenges: overwhelming data volumes, heterogeneous data types, and growing data complexity. This Forrester Consulting Paper reports the three key findings from their study conducted, on behalf of BDNA, to test the hypothesis that data …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds