DISK SERIAL NUMBER 
Author Message
 DISK SERIAL NUMBER
ANY IDEAS IN HOW TO GET THE SERUIAL NUMBER OF A DISK (FIXED OR NETWORK)
THANKS

--
Luciano Criscola




Sat, 02 Feb 2002 03:00:00 GMT
 DISK SERIAL NUMBER

On Tue, 17 Aug 1999 13:20:35 -0300, "Luciano Criscola"

Quote:

>ANY IDEAS IN HOW TO GET THE SERUIAL NUMBER OF A DISK (FIXED OR NETWORK)
>THANKS

        DECLARE INTEGER GetVolumeInformation IN win32api ;


        lcRootPath=sys(5)+'\'
        lnVolNBuffSize=256
        lcVolNameBuff=SPACE(lnVolNBuffSize)
        lnVolSerialNo=0
        lnMaxCompLen=256
        lnFileSysFlags=0
        lnFSNBuff=256
        lcFileSysNameBuff=SPACE(lnFSNBuff)




        IF nSuccess<>0
                hds=lnVolSerialNo
        ELSE
                hds=0
        ENDIF
give hd number as decimal number not hex.

rgds,
Albert  

Albert Bohlmeijer
06900 Yan, Kedah MALAYSIA

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQBVAwUBNHqANMlbTSm9v83hAQETrAH+KHSeF/rTZN0+DZyPbqClDrklMDOomefg
/0Qcxi3r3EensOvNZZu12CcpTu5J3duV3jhzRQlUnU2kvHiSOkIJjw==
=Ntt5
-----END PGP SIGNATURE-----



Mon, 04 Feb 2002 03:00:00 GMT
 DISK SERIAL NUMBER

Luciano
Assuming you got the MS scripting runtime engine SCRRUN.DLL registered.
    o=createobject('scripting.filesystemobject')
    ? o.drives('c').serialnumber
    ? o.drives('c').volumename
    o=null
-Anders


| ANY IDEAS IN HOW TO GET THE SERUIAL NUMBER OF A DISK (FIXED OR NETWORK)
| THANKS
|
| --
| Luciano Criscola


|
|



Mon, 04 Feb 2002 03:00:00 GMT
 
 [ 3 post ] 

 Relevant Pages 

1. Hard Disk Serial Number

2. Obtaining Hard Disk Serial Number

3. How do I read the disk Serial Number

4. Hard disk serial number or Ethernet card serial number.

5. API for the hard disk label and serial number

6. FPW26: Getting a disk's serial number

7. Disk Drive Serial Number

8. Volume serial number of a hard disk

9. Disk Drive Serial Number?

10. Provision Serial number and Control Number!

11. Serial Number and Control Numbers of Progress9.1B

12. Serial Number and Control Numbers of progress 9.1B


 
Powered by phpBB® Forum Software