Hi
I retrive the vol serial no fo a drive in vb.net using dos command
can it possible to known the vol serial no wothout running the dos commnd
from the vb.net. it yes how?
thanks
asm
Printable View
Hi
I retrive the vol serial no fo a drive in vb.net using dos command
can it possible to known the vol serial no wothout running the dos commnd
from the vb.net. it yes how?
thanks
asm
I am not useing .Net, this is how we use in VB6...Im sorry, if this doesnt help you...VB Code:
Dim FSO As filesystemobject Set FSO = New filesystemobject Dim myDrive As Drive Set myDrive = FSO.GetDrive("C") MsgBox myDrive.SerialNumber
Getting hard drive info
Or Here
Or as the last post in the last URL suggests - download the 101 examples that includes a fully working example
You can do it using WMI. Check out my WMI codebank submission in my sig for more info. ..