K
Kurt
In VB4, VB6 it's done using
Public Declare Function GetVolumeInformation Lib "kernel32" Alias "GetVolumeInformationA" (ByVal lpRootPathName As String, ByVal lpVolumeNameBuffer AsString, ByVal nVolumeNameSize As Long, ByVal lpVolumeSerialNumber As Long,ByVal lpMaximumComponentLength As Long, ByVal lpFileSystemFlags As Long, ByVal lpFileSystemNameBuffer As String, ByVal nFileSystemNameSize As Long) As Long
but I don't know and can't find online how to do it within VB.NET 2005 express
any and all help is appreciated. Thank you.
Public Declare Function GetVolumeInformation Lib "kernel32" Alias "GetVolumeInformationA" (ByVal lpRootPathName As String, ByVal lpVolumeNameBuffer AsString, ByVal nVolumeNameSize As Long, ByVal lpVolumeSerialNumber As Long,ByVal lpMaximumComponentLength As Long, ByVal lpFileSystemFlags As Long, ByVal lpFileSystemNameBuffer As String, ByVal nFileSystemNameSize As Long) As Long
but I don't know and can't find online how to do it within VB.NET 2005 express
any and all help is appreciated. Thank you.