FoxPro Examples

ChilkatHOMEAndroid™ASPVisual BasicVB.NETC#iOS (IPhone)Objective-CC++CMFCDelphiFoxProJavaPerl
PHP 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

Export All Certificates to .cer Files

Demonstrates how to export all certificates from a registry-based certificate store to .cer files where each filename is the serial number.

LOCAL loCcs
LOCAL loCs
LOCAL loCert
LOCAL lnNumCerts
LOCAL i
LOCAL lcFilename


loCcs = CreateObject('Chilkat.CreateCS')
loCcs.ReadOnly = 1

*  Open the current-user certificate store:

loCs = loCcs.OpenCurrentUserStore()

IF (NOT (loCs = NULL )) THEN

    lnNumCerts = loCs.NumCertificates

    *  Print the distinguished name of each certificate
    FOR i = 0 TO lnNumCerts - 1
        loCert = loCs.GetCertificate(i)

        lcFilename = "certs/" + loCert.SerialNumber + ".cer"

        loCert.ExportCertDerFile(lcFilename)

    NEXT

ELSE
    =MESSAGEBOX(loCcs.LastErrorText)
ENDIF


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

Mail Component · .NET Email Component · ASP Mail Component · XML Parser