Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning Drive Information
Message
De
05/02/1999 07:55:27
 
 
À
05/02/1999 07:46:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00184270
Message ID:
00184279
Vues:
19
hi,
try to search on M$ KNOWLEDGE BASE : ID Q135818
u may also use Win32api

I got the sample as th following:
DECLARE INTEGER GetLogicalDriveStrings IN Win32API as getit;
INTEGER nBuffSize, STRING lpString
CLEAR
DIMENSION aMyarray(1)
lpString=SPACE(200)
nBuffSize=LEN(lpString)
=getit(nBuffSize,@lpString)
NumberOfDrives=OCCURS(":",lpString)
DIMENSION aMyarray(NumberOfDrives)
FOR i=1 TO NumberOfDrives
aMyarray(i)=SUBSTR(lpString,AT(":",lpString,i)-1,1)
ENDFOR
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform