C# TreeView to JSON and Back
Here’s a C# class for persisting a TreeView to JSON, and for restoring a TreeView from JSON.
Here’s a C# class for persisting a TreeView to JSON, and for restoring a TreeView from JSON.
Here are a few snippets of code I needed for internal tools… TreeView –> JSON JSON –> TreeView
This example demonstrates the general pattern for implementing some standard event callbacks functions for the Chilkat “C” API. All Chilkat “classes” what have events will use the standard Chilkat events shown in the example below (AbortCheck, PercentDone, and ProgressInfo). This example demonstrates callbacks for an SFTP download, but the same technique applies to any other Chilkat “class”, such as HTTP, […]
This example demonstrates how to open a remote file on an SSH/SFTP server, write to the file, and then close it. This is analogous to opening a local file, writing to it, and closing it. The SFTP protocol (i.e. Secure File Transfer over SSH), follows the same concepts as typical file I/O programming — i.e. open a file, read, write, […]
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:
The Chilkat Mono Library for Linux, Windows, and MAC OS X Beta is ready for testing: http://www.chilkatsoft.com/mono.asp
The Chilkat C/C++ libs for Visual Studio 2013 (VC12) downloads are ready: 32-bit: http://www.chilkatsoft.com/preRelease/chilkat-9.5.0-x86-vc12.zip 64-bit: http://www.chilkatsoft.com/preRelease/chilkat-9.5.0-x86_64-vc12.zip
Question: In C++, is it somehow possible to specify a desired charset (like ISO-8859-15) when getting mail headers with POP3? Answer: Instead of calling the method that returns a “const char *” — which can return either utf-8 or ANSI (see this Chilkat blog post about the Utf8 property common to all Chilkat C++ classes), call the alternate method that […]
The Chilkat C/C++ libraries are now available for MAC OS X. For the download link and more information, see http://www.chilkatsoft.com/installMacOSX.asp Chilkat will soon release MAC OS X compatible builds for Java, Perl, Python, and Ruby. Following that, builds for the IOS (IPhone) will be released, along with Objective-C/C++ native libraries for both MAC OS X and IPhone.