Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get disk free space
Message
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00067795
Message ID:
00067906
Vues:
29
>Is there a function in VB (3.0 and above) that would return the available disk space?
>I tried finding something in the help files, but I believe I'm missing something obvious.
>TIA
>Sorin

There is no VB function to solve this problem. In 32-bit VB4 and in VB5 you can use the
Windows API function GetDiskFreeSpace. There's no easy solution in 16-bit VB, but some
programmers have found a function called DiskSpaceFree in one of the setup kit DLLs.
I don't recommend this because the setup kit can be removed after setup, but it
might be the only reasonable solution for 16-bit programs.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform