Visual Basic Examples

ChilkatHOMEASPVisual BasicVB.NETC#Visual C++CMFCDelphiFoxProJavaPerlPHPPythonRubySQL ServerVBScript

VB Examples

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

More Examples...
Email Object
FileAccess
RSS
Atom
Self-Extractor
Service
PPMD
Deflate
DH Key Exchange
DSA


VB Strings
VB Byte Array

Unreleased...
Bzip2
LZW
Icon

 

 

 

 

 

 

 

128-Bit AES XML Encryption in Visual Basic

Download Chilkat XML ActiveX

Source Code Listing

' 128-bit AES Encrypt the contents of an XML node.
Private Sub Command5_Click()
    Dim xml As ChilkatXml
    Set xml = New ChilkatXml
    success = xml.LoadXmlFile("test.xml")
    xml.EncryptNode "myPassword"
    xml.SaveXml "testEncrypted.xml"
End Sub

' Decrypt an XML node.
Private Sub Command6_Click()
    Dim xml As ChilkatXml
    Set xml = New ChilkatXml
    success = xml.LoadXmlFile("testEncrypted.xml")
    xml.DecryptNode "myPassword"
    xml.SaveXml "testDecrypted.xml"
End Sub

Need a specific example? Send a request to support@chilkatsoft.com

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