Multipart/signed Email Handling

When a signed and/or encrypted email is loaded from a file or downloaded from a mail server, it is automatically verified and/or decrypted.   The results are stored in various properties of the email object, and the email object is available in its unencrypted/unsigned form.  This means that your application can process signed/encrypted emails in the same way as non-signed/non-encrypted email.  […]

Forcing Web Server to Deliver Fresh (Non-Cached) Response

To force a web server to send a fresh copy (not a cached copy) of the requested document, add a “Pragma: non-cache” HTTP header to the request. If sending a HTTP GET request via these methods: QuickGet, QuickGetStr, Download, etc., then add the Pragma header by calling httpObject.SetRequestHeader(“Pragma”,”no-cache”) prior to sending the GET. If the Chilkat HTTP Request object is […]

Zip Compress JPG?

Question: May I know that which Zip method in your component could give the best compression? We are trying to Zip some JPEG, and perhaps could reduce the size by half or more. Answer: The JPG file format is already a compressed format, so usually very little is gained in trying to compress it — the result is a lot […]

VB.NET Compress String to Byte Array

Demonstrates how to use Chilkat.Compression to compress a string to a byte array: Private Sub CompressStringToBytes() Dim compress As New Chilkat.Compression() ‘ Any string argument automatically begins a 30-day trial. Dim success As Boolean success = compress.UnlockComponent(“30-day trial”) If (success <> True) Then MsgBox(“Compression component unlock failed”) Exit Sub End If ‘ Use the “deflate” algorithm, which is the algorithm […]

UnlockComponent or UnlockBundle returns False/0

If UnlockComponent or UnlockBundle fails, check the following.  (For more information about how UnlockComponent works, please read this:  How UnlockComponent works. You must pass the exact unlock code provided in your receipt email.  The unlock code is case sensitive.  If  you are confident that you are passing the correct unlock code to UnlockComponent (or UnlockBundle), but it returns a failed […]

Where are trial versions?

The downloads at http://www.chilkatsoft.com/downloads.asp are the full-versions of the products, but may also be used in a fully-functional 30-day trial mode.   A Chilkat component/class is unlocked at runtime by calling the UnlockComponent method.  This method must be called once from within your application prior to using any Chilkat objects. It is not required to call UnlockComponent for each instance of […]

Unlocking Chilkat SFTP

To use Chilkat SFTP (Secure File Transfer over SSH) you must use the unlock code for Chilkat SSH.  It should contain the substring “SSH”.  If your unlock code contains the string “FTP”, then you are using the FTP2 unlock code, which is incorrect. The SFTP component/API is part of  the “Chilkat SSH” license: “SFTP” is the Secure File Transfer Protocol […]

Chilkat .NET for x64 (64-bit Windows)

The “An attempt was made to load a program with an incorrect format.” indicates that your program attempted to load a win32 assembly on an x64 Windows OS, or the reverse. There is a separate Chilkat .NET assembly also named ChilkatDotNet2.dll for 64-bit Windows.  It may be downloaded at: http://www.chilkatsoft.com/downloads.asp This is for the 2.0/3.5 (or greater) Framework.  There is […]