Understanding SSH Automation
See Understanding SSH Automation
Latest notes, articles, and news
See Understanding SSH Automation
Chilkat implements a thread pool for asynchronous tasks in all programming languages except for Node.js. For Node.js, Chilkat tasks run directly on Node’s internal thread pool (i.e. the libuv thread pool). The Task.Run() method can have 0 or 1 arguments. If an argument is passed, it is the “task completed” callback that get called when the task has completed. Here […]
To use the Chilkat ActiveX in a Visual Basic 6.0 program, review each of these items to make sure you’re doing everything correctly: Make sure you’re using the 32-bit ActiveX, even on 64-bit Windows. The ActiveX must be registered (via regsvr32) on each computer. If you’re having trouble, try using the .msi installer available here: Chilkat 32-bit ActiveX MSI Installer […]
Chilkat may begin providing .msi installers for the 32-bit and 64-bit ActiveX components. Here are .msi installers for testing: (version 9.5.0.56) Chilkat 32-bit ActiveX MSI Installer Chilkat 64-bit ActiveX MSI Installer Installing the .msi should register the ActiveX. The .msi also includes the required MSM merge module for the VC++ 2008 runtime. To check the registration, run the CheckChilkatActiveX.exe program […]
Java (including Android): Added event callback capabilities for progress monitoring. Async: Added asynchronous functionality for all qualifying methods across all programming languages, operating systems, and architectures. Each Chilkat method that can potentially be time-consuming or involve network communications, now has a corresponding asynchronous version of the method with the name ending in “Async”. Ecc: Added a new Ecc class for […]
Event callbacks in Java (including Android) are supported starting in v9.5.0.52. To receive event callbacks, first create a Java class derived from one of the Chilkat event callback classes. The event callback classes are: CkBaseProgress, CkHttpProgress, CkZipProgress, CkFtp2Progress, CkMailManProgress, CkTarProgress, and CkSFtpProgress. All future Chilkat classes will only use CkBaseProgress. Theses event callback classes will be documented in the “Events” […]
Demonstrates a TaskCompleted event for an asynchronous Chilkat method call. The event callback occurs in the background thread, and therefore any updates to the UI must happen on the UI thread. For this reason, MethodInvoker is used to make updates to a TextBox..
Demonstrates the TaskCompleted event callback using the Chilkat Delphi ActiveX:
This sample C# snippet demonstrates how to use the TaskCompleted event to be notified when an asynchronous method completes. Given that the event callback is in the background thread, any UI updates must occur on the main thread. This example demonstrates how to do it:
In many places in the Chilkat API, there are properties or method arguments for a charset (also known as character encoding). All acceptable and supported charset names are listed here. (The vast majority are likely almost never used.) Before we list the names and the corresponding code pages, there are a few special values. “ansi” is a string that can […]