FoxPro Examples

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

Visual FoxPro Examples

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

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

 

Non-Chilkat Links
Text and String Handling

Get Referenced Domains

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

LOCAL loSpider
LOCAL loDomainList
LOCAL lnSuccess
LOCAL i
LOCAL lcUrl

*  The Chilkat Spider component/library is free.
loSpider = CreateObject('Chilkat.Spider')

loDomainList = CreateObject('Chilkat.CkStringArray')

*  Set the Unique property so that duplicates are not added.
loDomainList.Unique = 1

*  Crawl the home page of joelonsoftware.com and get the outbound URLs
loSpider.Initialize("www.joelonsoftware.com")
loSpider.AddUnspidered("http://www.joelonsoftware.com/")

lnSuccess = loSpider.CrawlNext()

*  Build a list of unique domains.

FOR i = 0 TO loSpider.NumOutboundLinks - 1
    lcUrl = loSpider.GetOutboundLink(i)
    loDomainList.Append(loSpider.GetDomain(lcUrl))
NEXT

*  Display the domains.
FOR i = 0 TO loDomainList.Count - 1
    ? loDomainList.GetString(i)
NEXT

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

Mail Component · .NET Email Component · ASP Mail Component · XML Parser