Read and Write Binary Files in VB6, VBScript, ASP
The Chilkat FileAccess ActiveX is a freeware component that may be used to read and write binary files in VBScript, ASP, VB6, etc. Here are some sample code fragments: VBScript ‘ Download the Chilkat FileAccess ActiveX (freeware) from here: ‘ http://www.chilkatsoft.com/download/FileAccess.zip set fac = CreateObject(“Chilkat.FileAccess”) ‘ Read an entire file as binary data (returns Variant containing byte array) byteData = […]