Im on winxp and 98 . I use theVB Code:
Public Declare Function GetVolumeInformation Lib "kernel32" Alias "GetVolumeInformationA" _ (ByVal lpRootPathName As String, ByVal lpVolumeNameBuffer As String, ByVal nVolumeNameSize As Long, lpVolumeSerialNumber As Long, lpMaximumComponentLength As Long, lpFileSystemFlags As Long, ByVal lpFileSystemNameBuffer As String, ByVal nFileSystemNameSize As Long) As Long
code. but it the serial part returns a 0 when i select a hdd with xp. And i have a hdd 120 gig partitioned and i get a 0 on both hdd's


Reply With Quote