This is out of the code MartinLiss has in the codebank for a program registration scheme.
VB Code:
Private 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
isn't serial number n volume number 2 different things??? if yes how can i check the volume number thru windows??
actually, i thought these 2 are different things from the other similar post where u posted ur reply!!! i have absolutely no idea abt them.......these 2 numbers!!
plz if u can explain!!!
There is the Hardware Serial Number, which is different for each hard disk, and cannot be changed. The Volume Serial Number is created each time the disk is formatted. Volume Serial Numbers conform to a standard, so they can be used in calculations.
You would have to check it in the BIOS before boot up manually. There are some HD manufacturers that provide a utility for reading the serial number but theyare probably written in C++
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
You would have to check it in the BIOS before boot up manually. There are some HD manufacturers that provide a utility for reading the serial number but theyare probably written in C++
i know that serial number is stored in BIOS.......i was asking abt how to check the volume number thru windows!!
Manually through windows or programatically? You have seen that link but havent stated if its working for you.
Here is a screenie of my Intel RAID management utility. I had a drive die recently and havent replaced it yet or it would show both drives serial numbers. These are the serial numbers that are on the physical drive itself.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.