>>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
Also, main.mnx is the working menu you MODIfy and work on. Main.mpr is the generated menu program.
Wayne
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown