Visual Basic Examples

ChilkatHOMEAndroid™ASPVisual BasicVB.NETC#iOS (IPhone)Objective-CC++CMFCDelphiFoxProJavaPerl
PHP ExtensionPHP ActiveXPythonPowerShellRubySQL ServerVBScript

VB Examples

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

More Examples...
Amazon S3
Email Object
DKIM / DomainKey
NTLM
DH Key Exchange
DSA
FileAccess
RSS
Atom
Self-Extractor
Service
Bzip2
PPMD
Deflate
LZW


VB Strings
VB Byte Array

 

 

 

 

 

 

 

(Visual Basic) Creating a New Child Node

Demonstrates how to create a new child in an XML document.

The following XML sample code produces this output:


<abc>
    <xyz>
        <mmm>123</mmm>
    </xyz>
</abc>

Download Chilkat XML ActiveX

Dim xml As New ChilkatXml

xml.Tag = "abc"

'  Create a new child  with no content
'  and return the newly created child node:
Dim childNode As ChilkatXml
Set childNode = xml.NewChild("xyz","")

'  Create a child under childNode, but instead call
'  NewChild2 which doesn't return the newly created child node:
childNode.NewChild2 "mmm","123"

Text1.Text = Text1.Text & xml.GetXml() & vbCrLf

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