

Simply throw in the full path to be hashed, Blocksize to use (number of bytes), and the type of Hash to use - one of the private constants: HashTypeMD5, HashTypeSHA1, HashTypeSHA256, HashTypeSHA384, HashTypeSHA512. GetFileHash( sFile As String, uBlockSize As Double, sHashType As String) Sets/indicates whether WriteBytes will automatically call the Flush method. This is not compatible with VBA file handles. The file handle for the currently open file. PROPERTIES OF THE CLASS BY MICROSOFT Property You can rewrite this method to allow for offsets greater than 2GB by converting a 64-bit signed offset into two 32-bit values. Moves the file pointer up to +/- 2GB from the current location. The low-order DWORD will be negative for values between 2GB and 4GB. Make the high-order argument non-zero to exceed 4GB. Though VBA treats the DWORDS as signed values, the API treats them as unsigned. Moves the file pointer to the designated position from the beginning of the file. SeekAbsolute( HighPos As Long, LowPos As Long) Writes the contents of the byte array to the current position in the file and moves the pointer. Reads ByteCount bytes and returns them in a Variant byte array and moves the pointer.

Opens the file specified by the sFileName argument.

Returns a boolean to indicate whether the file is open. METHODS FOR THE CLASS BY MICROSOFT Method Name
