Checking the presence of drive in your system
Checking the presence of drive in your system
Rate Checking the presence of drive in your system
(2(2 Vote))
'Make a reference to a Microsoft Scripting Runtime Library
Public sub Form_Load()
Dim fso As New FileSystemObject
If fso.DriveExists("J:") Then
MsgBox "Drive Exist", vbInformation
Else
MsgBox "Drive not exist", vbInformation
End If
End Sub
'This program checks whether the "J:" drive is available in your system or not
Checking the presence of drive in your system Comments
No comments yet — be the first to post one!
Post a Comment