Home    | Products    | Downloads    | Purchase    | Support   

 Products

 Paint Express

 HashCalc

 FSUM

 QuickHash Library

 FastCRC Library

    Download

    Purchase

    Samples

    License Agreement

    Related Links

    F.A.Q.

    Overview

 Company

 About Us

 Contact Us

 Miscellaneous

 Affiliate Program

 Site Map

SlavaSoft FastCRC Library Samples
Sample #6 (FastCRC Type Library - Visual Basic)  

All

Previous Next


The following sample demonstrates how to use the FastCRC Type Library to calculate the CRC32 checksum for a file.

Private Sub MyButton_Click()

    Dim checksum As Long

    'Calculate the checksum
    If FCRC32_CalculateFile(checksum, "C:\Test.txt") = 0 Then

      'Show the hexadecimal representation of the checksum
      MsgBox FCRC_LongToHex32(checksum, True)

    End If

End Sub
 
 
 
 
 
 
  Copyright SlavaSoft Inc. All rights reserved.