Download for Vista x64 (64-bit Microsoft Vista)

Question: I get an error when trying to load ChilkatDotNet2.dll on Vista x64: An attempt was made to load a program with an incorrect format. Does Chilkat have an x64-compatible .NET assembly? Answer: Yes, download the x64-compatible DLL from this URL: x64 compatible ChilkatDotNet2.dll Make sure you deploy the x64 DLL to the 64-bit Vista system. You may develop your […]

SMTP Protocol (in a Nutshell)

Question: SendMime requires a from  and  recipients address string, but the MIME message contains both .  The message I receive from the SendMime seems to ignore the addresses in the call and uses the one in the MIME.  So why require a from and recipient address? Answer: The SMTP protocol works like this: 1) A client connects to an SMTP […]

FTP Proxy Methods

Question: I need to connect to an ftp server and have to use the following command: ftp://username:password@hosname That means I’m not able to use the standard connection (first connect to host, then enter username and then password).  Is this possible using the Chilkat FTP2 component? Answer: Yes.  There are a number of different FTP proxy methods used by different types […]

Re-Sending Received Cookies with Subsequent HTTP GET’s

I’ve read information on your site about how to get the content at a URL and save it as an XML document. Below is a portion of the code to give you an idea of what I am referring to. String html = http.QuickGetStr(http://www.hocuspocus.com); … htmlToXml.WriteScriptToFile(xml, “out.xml”, “iso-8859-1”); My question is this: What if one cannot directly access the URL […]

An error occurred on the server when processing the URL.

If you receive this error message from IIS7 on Vista: An error occurred on the server when processing the URL. Please contact the system administrator Do the following at the IIS Manager to get a more meaningful message: 1. Select the web site from the tree on the left and click on the “ASP” icon 2. Expand the “Debugging Properties” […]

Can Ftp2.SyncLocalTree be progress monitored?

The FTP2 component’s SyncLocalTree method downloads an entire directory tree from an FTP server to the local filesystem. There are several modes of operation: mode=0: Download all files mode=1: Download all files that do not exist on the local filesystem. mode=2: Download newer or non-existant files. mode=3: Download only newer files. If a file does not already exist on the […]

Internet Explorer Proxy Registry Locations

The IE Proxy settings may be found in the CURRENT_USER registry hive at this path: /Software/Microsoft/Windows/CurrentVersion/Internet Settings/ProxyServer and /Software/Microsoft/Windows/CurrentVersion/Internet Settings/ProxyEnable ProxyEnable will have a value of 1 if the proxy is enabled. Otherwise it will be 0.

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