Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Please Help me..
Message
From
09/02/1999 05:09:12
 
 
To
09/02/1999 02:32:28
Narong Tohku
Knownet Co.,Ltd.
Bangkok, Thailand
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00185408
Message ID:
00185426
Views:
19
>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)"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform