VB.NET Examples

ChilkatHOMEASPVisual BasicVB.NETC#Visual C++CMFCDelphiFoxProJavaPerlPHPPythonRubySQL ServerVBScript

VB.NET Examples

Bounced Mail
Character Encoding
Digital Certificates
Digital Signatures
Email
FTP
HTML to XML
HTTP
IMAP
Encryption
MHT / HTML Email
PFX
RSA Encryption
S/MIME
Socket
Spider
Tar Archive
Upload
XML
XMP
Zip Compression
Misc

More Examples...
Email Object
POP3
SMTP
RSS
Atom
Self-Extractor

Byte Array
VB.NET FTPS
System.IO

Unreleased...
Service
PPMD
Deflate
Bzip2
LZW
Bz2
DH Key Exchange
DSA
Icon

 

 

 

 

 

 

HTML Entity Decoding

VB.NET example source code to decode HTML entities.

        ' HtmlDecode sample program
        ' Decode HTML entities to Unicode characters.

        Dim cset As New Chilkat.Charset()
        ' Unlock once at the beginning of a program.
        cset.UnlockComponent("anything for 30-day trial")

        Dim eStr1 As String
        eStr1 = "Cent Sign: ¢ Pound Sign: £"
        ' NOTE: Numeric references in the 0-255 range are assumed to be iso-8859-1 character references.
        ' Numeric references greater than (decimal) 255 are assumed to be Unicode references.
        Dim eStr2 As String
        eStr2 = "Latin capital letter A with acute: Á Á Á"
        Dim eStr3 As String
        eStr3 = "Examples of numeric character references include © or © for the copyright symbol, Γ or Γ for the Greek capital letter gamma, and ذ or ذ for the Arabic letter THAL."

        TextBox1.Text = cset.HtmlEntityDecode(eStr1)
        TextBox2.Text = cset.HtmlEntityDecode(eStr2)
        TextBox3.Text = cset.HtmlEntityDecode(eStr3)




 

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

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

Mail Component · XML Parser