Sample code for 30+ languages & platforms
Visual Basic 6.0

Example: Crypt2.CrcFile method

Demonstrates how to call the CrcFile method.

Chilkat Visual Basic 6.0 Downloads

Visual Basic 6.0
Dim crypt As New ChilkatCrypt2

Dim filePath As String
filePath = "c:/temp/someFile.dat"

Dim crc32 As Long
crc32 = crypt.CrcFile("crc-32",filePath)
Debug.Print crc32

Dim crc8 As Long
crc8 = crypt.CrcFile("crc8",filePath)
Debug.Print crc8