This zip file and dll are public domain.  I have included the 
source code so that you may edit, alter, or use it as you wish.


The dll should be used as follows: 

In your VBasic declaration, use this:

Declare Function Chk Lib "diskchk.dll" (ByVal Sizer as Integer) As Long


In the code window in VBasic, use something like this:

TotalSize = Chk(harddisk)


**Note-three things to tell you...first, this dll uses integers to denote
which harddrive is being checked.  For example:

		default drive = 0
		drive c:      = 2
		drive d:      = 3
		drive e:      = 4
	
		etc, etc, etc.

Second, use a variable as I did above (the variable "harddisk") and set it
equal to the integer denoting which hard drive to check.

Third, I believe the result comes out in Kilobytes.  Therefore, to report
the disk size in bytes, you'll have to multiply the result by 1024.

That's about all I can think of.  If you have any questions about anything 
that I didn't cover, let me know via e-mail.

LanceT2
