FoxPro Examples

ChilkatHOMEAndroid™ASPVisual BasicVB.NETC#iOS (IPhone)Objective-CC++CUnicode C++Unicode CMFCDelphi DLLDelphi ActiveXFoxProJavaPerlPHP ExtensionPHP ActiveXPythonPowerShellRubySQL ServerVBScript

Visual FoxPro Examples

Bounced Mail
Bz2
Character Encoding
CSV
Digital Certificates
Digital Signatures
Email
Email Object
FTP
HTML Conversion
HTTP
IMAP
Encryption
MHT / HTML Email
POP3
RSA
S/MIME
Socket
Spider
SFTP
SMTP
SSH
SSH Key
SSH Tunnel
String
Tar
Upload
XML
XMP
Zip Compression
Self-Extractor

More Examples...
Amazon S3
DKIM / DomainKey
NTLM
RSS
Atom
Byte Array
Service
PPMD
Deflate
DH Key Exchange
DSA
FileAccess
Bzip2
LZW

 

Non-Chilkat Links
Text and String Handling

Using Chilkat ActiveX Components in Visual FoxPro

Any of the Chilkat ActiveX components can be used in Visual FoxPro. For specific examples, please click on one of the links in the left rail of this page.

This page provides general information on using Chilkat ActiveX Components in Visual FoxPro.


Downloading and Installing a Chilkat ActiveX Component

Chilkat ActiveX components are non-visual components that provide technology solutions for email, Zip compression, encryption, XML, character encoding conversion, and more. Individual Chilkat components can be downloaded from http://www.chilkatsoft.com/downloads.asp.

The Chilkat component installer (the .MSI file that is downloaded) will install and register a Chilkat ActiveX component. Each component is packaged in a single self-registering DLL. For example, the Chilkat Mail ActiveX is ChilkatMail2.dll. The component installer does not create desktop icons nor does it install any runnable programs. Once installed, the component is ready to be used in Visual FoxPro.


Creating an ActiveX Object Instance

In Visual FoxPro, ActiveX objects are created using the CreateObject function. This requires a single ClassName parameter, for example:

LOCAL loMailman
loMailman = CreateObject('Chilkat.MailMan2')

The complete list of class names are given below:

Chilkat.AppSettings
Chilkat.Bounce
Chilkat.Cert
Chilkat.CertStore
Chilkat.Charset2
Chilkat.CkData
Chilkat.String
Chilkat.CkStringArray
Chilkat.CreateCS
Chilkat.Crypt2
Chilkat.CSP
Chilkat.Email2
Chilkat.EmailBundle2
Chilkat.FTP2
Chilkat.GZip
Chilkat.HtmlToXml
Chilkat.Http
Chilkat.HttpRequest
Chilkat.HttpResponse
Chilkat.Imap
Chilkat.KeyContainer
Chilkat.MailMan2
Chilkat.Mht
Chilkat.Mime
Chilkat.PrivateKey
Chilkat.PublicKey
Chilkat.Rsa
Chilkat.Socket
Chilkat.Spider
Chilkat.Tar
Chilkat.UnixCompress
Chilkat.Upload
Chilkat.Xml
Chilkat.Xmp
Chilkat.Zip2


Unlocking the Component at Runtime

Chilkat components are unlocked by making a single method call to UnlockComponent at the beginning of your program. This requires either a 30-day trial unlock code, or a permanent unlock code that is delivered after purchase. Any string can be used to automatically begin the 30-day trial:

LOCAL loMailman
loMailman = CreateObject('ChilkatMail2.ChilkatMailMan2')

loMailman.UnlockComponent('anything-begins-30-day-trial')


Deploying Your Visual FoxPro Application

All Chilkat components are licensed for royalty-free redistribution, so you can redistribute the Chilkat DLLs with your application without having to pay a royalty per end-user. The Chilkat DLLs are standard self-registering DLLs, and most installer packages provide features for automatically registering DLLs that are included with your application. Chilkat DLLs can also be registered using the Windows regsvr32.exe utility.

© 2000-2013 Chilkat Software, Inc. All Rights Reserved.