VBScript Examples

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

VBScript Examples

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

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

 

 

 

 

 

 

 

Get Referenced Domains

Demonstrates how to accumulate a list of unique domain names referenced from outbound URLs.

Dim fso, outFile
Set fso = CreateObject("Scripting.FileSystemObject")
Set outFile = fso.CreateTextFile("output.txt", True)

'  The Chilkat Spider component/library is free.
set spider = CreateObject("Chilkat.Spider")

set domainList = CreateObject("Chilkat.CkStringArray")

'  Set the Unique property so that duplicates are not added.
domainList.Unique = 1

'  Crawl the home page of joelonsoftware.com and get the outbound URLs
spider.Initialize "www.joelonsoftware.com"
spider.AddUnspidered "http://www.joelonsoftware.com/"

success = spider.CrawlNext()

'  Build a list of unique domains.

For i = 0 To spider.NumOutboundLinks - 1
    url = spider.GetOutboundLink(i)
    domainList.Append spider.GetDomain(url)
Next

'  Display the domains.
For i = 0 To domainList.Count - 1
    outFile.WriteLine(domainList.GetString(i))
Next
outFile.Close

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

Mail Component · XML Parser