Categories




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

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>