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 = […]

OAEP Padding vs. PKCS v1.5 Padding Error

This error occurs if RSA encrypted data using OAEP padding is decrypted with the assumption that PKCS v1.5 padding was used. To solve the problem, set the OaepPadding property = true prior to decrypting. … RSA_decrypt: KeyType: Private InputSize: 128 Padding: PKCS v1.5 ModulusBitLen: 1024 Invalid PKCS v1.5 padding header (1) FoundBlockType: 197 ExpectingBlockType: 2 …

Outlook vs. Mail Servers

Question: I am using your email ActiveX control and wanted to know if there is a way to update MS Outlook in the sent folder with the email I am sending with your control? Answer: Email clients communicate with email servers using a well-known protocol. Email clients do not generally communicate with other email clients. Here is a non-exhaustive list […]