>Hi..All
>I want get Serail Number from Disk..How I can do it form Visaul Foxpro? and I have meny file (main.mpr) How I can make to (main.mnx) file..Please help me
>
>Best Regrards,
>Narong
Hi Narong
You have to use the following API call:
DECLARE short GetVolumeInformation IN Win32API ;
STRING lpRootPathName, ;
STRING lpVolumeNameBuffer, ;
INTEGER nVolumeNameSize, ;
STRING lpVolumeSerialNumber, ;
STRING lpMaximumComponentLength, ;
STRING lpFileSystemFlags, ;
STRING lpFileSystemNameBuffer, ;
INTEGER nFileSystemNameSize
Benn Kjaer
MS Certified Professional - Visual Foxpro
"There is something rotten in the state of Denmark"
"Why make user-friendly programs, when there aren’t any friendly users :o)"