Visual Basic Codes
ActiveX
Miscellaneous
Applications
Code Snippets
Common Dialogs
Special Effects
Database Stuff
Date Time
Files Drives
Forms
Graphics Games
Internet Stuff
Multimedia
Other
Strings
Windows
Visual Basic > Code Snippets sample source codes
Checks whether a drive exists
Checks whether a drive exists 'This program checks whether a drive exists Private Sub Form_Load() Dim objfso As New FileSystemObject If objfso.DriveExists("h:") Then MsgBox "The Drive Exists", vbInformation Else MsgBox "The Drive does not exist", vbInformation End If End Sub
Privacy Policy
|
Link to Us
|
Links