Display the filesystem of a drive
‘Add a list box to the form and then add a reference to the Microsoft Scripting Runtime
Private Sub Form_Load()
Dim fldr As Folder
Dim fso As New FileSystemObject
Dim drv As Drive
Set drv = fso.GetDrive(fso.GetDriveName(”d:”))
MsgBox (”File system is ” & drv.FileSystem)
End Sub
Related posts:
- File system object example ‘Add a list box to the form and then add...
- Display a CSV file Display a CSV file CSV files are common formats to...
- check whether a file exists Private Sub Form_Load() Dim objfso As New FileSystemObject If objfso.FileExists(”f:test.txt”)...
Related posts brought to you by Yet Another Related Posts Plugin.



















































Post a comment