Anyone know how to test for the filesystem in use on a particular drive, NTFS/FAT32 using the VB.NET method. Thanks
On the Project menu, click Add Reference, and then click the COM tab. Choose Microsoft Scripting Runtime from the Component Name list, and then click Select. and in your code: VB Code: Imports Scripting ' ' ' ' Dim fso As New FileSystemObject() Messagebox.Show(fso.GetDrive("C").FileSystem.Tostring) ' You can also get other informatiopn about this drive: MsgBox(fso.GetDrive("C").SerialNumber.ToString)
Imports Scripting ' ' ' ' Dim fso As New FileSystemObject() Messagebox.Show(fso.GetDrive("C").FileSystem.Tostring) ' You can also get other informatiopn about this drive: MsgBox(fso.GetDrive("C").SerialNumber.ToString)
Forum Rules