|
-
Jan 17th, 2007, 06:17 AM
#1
Thread Starter
Hyperactive Member
Drive vol serial no
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
-
Jan 17th, 2007, 06:30 AM
#2
Re: Drive vol serial no
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
If an answer to your question has been helpful, then please, Rate it!
Have done Projects in Access and Member management systems using BioMetric devices, Smart cards and BarCodes.
-
Jan 17th, 2007, 12:28 PM
#3
Re: Drive vol serial no
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
-
Jan 17th, 2007, 12:54 PM
#4
Re: Drive vol serial no
You can do it using WMI. Check out my WMI codebank submission in my sig for more info. ..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|