VB.NET Examples

ChilkatHOMEASPVisual BasicVB.NETC#Visual C++CMFCDelphiFoxProJavaPerlPHPPythonRubySQL ServerVBScript



VB.NET Examples

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

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

Byte Array
VB.NET FTPS
System.IO

Unreleased...
Bzip2
LZW
Icon

 

 

 

 

 

 

Unzip XML Sub-Trees

Download VB.NET Project Files and Source Code

VB.NET sample code showing how to Unzip sub-trees within an XML document.

    ' Load an XML file that has Zipped data. Unzip it on-the-fly and use it.
    ' This example lists company names and addresses in a listbox.
    Private Sub Button10_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button10.Click
        Dim xml As New Chilkat.Xml()
        Xml.LoadXmlFile("zipped.xml")

        ListBox1.Items.Clear()

        Dim b As Boolean
        b = xml.FirstChild2()
        While (b)
            ' Unzip the sub-tree.
            xml.UnzipTree()

            ListBox1.Items.Add(xml.GetChildContent("name"))
            ListBox1.Items.Add(xml.GetChildContent("address"))

            b = xml.NextSibling2()
        End While

    End Sub


Important: The download for this example does not contain the ChilkatDotNet.dll which
must be downloaded and installed separately at http://www.chilkatsoft.com/downloads.asp.
Once installed, add a reference to the DLL in the project by following the instructions at
http://www.example-code.com/vbdotnet/step2.asp

 

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

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

Mail Component · XML Parser