Link to home
Start Free TrialLog in
Avatar of aplelois
aplelois

asked on

GetVolumeSerial

hello,
I would like to create a button so that when you click it you see
this MessageBox.Show(GetVolumeSerialNumber("C:\"))
how can I do that ?
SOLUTION
Avatar of ElrondCT
ElrondCT
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of aplelois
aplelois

ASKER

Error      1      Name 'GetVolumeSerialNumber' is not declared.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Perhaps I misunderstood. I thought from this and your other message that you already had the function created to get a volume serial number. If you don't have that function, then sk33v3's link is what you need; download the code from there. If you have the function in your program, and you're getting the error above, then I think you need to explain a bit more what's going on (show us the code where you're getting the error).