|
Internet File, Mail
and Routine
Library
Updated
Monday December 26, 2011
|
Category
|
Topic
|
Associated
Files
vb6
vb5
vb4-32 |
FindExecutable: Obtain Exe of the Default Browser
Using FindExecutable and a temporary file to determine the application associated with html files.
Oct 13.1999CreateProcess: Start Separate Instances of the Default Browser
Using FindExecutable and CreateProcess to force URLs to open in new sessions of a browser.
Oct 18.1999 |
|
|
Browser
vb6
vb5
vb4-32 |
Pure VB: Obtain the Current URL from IE or Netscape
Use DDE to obtain browser page information.
Jul 26.2002DllGetVersion: Basic Internet Explorer Version Info
API code to retrieve the current version of Internet Explorer.
Nov 27.1999
DllGetVersion: Detailed Internet Explorer Version Info
Update to the original DllGetVersion: Basic Internet Explorer Version Info
demo covering IE versions 3.x through 6.x.
Apr 16.2002
|
|
|
Connection
vb6
vb5
vb4-32 |
InternetCheckConnection: Another Way to Check for Internet Connection
One-line call to test for internet connection.
Nov 17.2008
InternetGetConnectedState: Determine Network Connection Type
Six wrapper routines returning system network connection information.
June 10.1999
IsNetworkAlive: Determine Network Connection State
Five wrapper routines to determine whether a given network connection is currently alive.
April 20.2001
IsDestinationReachable: Determine Network QOC Info
Determine if the destination can be reached, and retrieve Quality of Connection information for the destination.
March 13.2001
URLDownloadToFile: Obtain Machine's Public IP Behind Router
Download and parse a shtml file
returning the public IP address of the machine.
Jan 5.2005
RegEnumKeyEx: POP3, SMTP, NNTP and LDAP Account Info (Outlook Express)
How to enumerate account information for given services.
Jul 07.2002
|
|
|
Date/Time
vb6
vb5
vb4-32 |
SetSystemTime: SNTP Time Server Synchronization using Winsock
Using the Winsock control to connect to Internet Time
Servers for system date/time synchronization.
Feb 3.2002
SetSystemTime: Date and Time Synchronization to a Remote Server
Use NetRemoteTOD to synchronize a local machine to a domain server. Oct 22.2001
|
|
|
Email
vb6
vb5
vb4-32 |
ShellExecute: Simulate a Hyperlink with a Label Control
Simple code using the API to create a hyperlink and react to mouse movement. Feb 18.2000
ShellExecute: ShellExecute Madness
Making the most out of Windows' file associations.
Oct 26.1998
ShellExecute: Send Large Emails in Outlook Express
Where the contents of the email will be large, use this
ShellExecute alternative. Mar 10.2002
RegEnumKeyEx: POP3, SMTP, NNTP and LDAP Account Info (Outlook Express)
How to enumerate account information for given services.
Jul 07.2002
RegQueryValueEx: User Default Email Address (Internet Account Manager)
Small routine to retrieve the current user's email address
associated with the default email account.
Jul 07.2002 |
|
|
File Downloading
vb6
vb5
vb4-32 |
URLDownloadToFile: Fast, Simple and Transparent File Downloads
Pass the remote file URL and local file name and have this
API handle the download in a few lines of code.
Feb 22.2002
URLDownloadToFile: Fast, Simple and Transparent File Downloads Bypassing the IE Cache
Pass the remote file URL and local file name and have this
API handle the download, deleting the same file from the
cache prior to download to ensure a fresh file is obtained.
June 18.2004
DoFileDownload: Download Files Using IE's Download Dialog
Use the Internet Explorer File Download dialog for both FTP and HTTP
file downloads in your application. Jan 8.2000
DoFileDownload: Customize the IE Download Dialog
Customize the DoFileDownload folder to specify the path and
title, and return the download success.
Nov 28.2002
|
|
|
Favourites
vb6
vb5
vb4-32 |
GetPrivateProfileString: Parse IE Favourites Information
Extracting the shortcut name and URL from an IE Favourite. Mar 09.2000 |
|
|
FTP
vb6
vb5
vb4-32 |
FtpFindFirstFile: Connect and Retrieve FTP File Listings
Using the FTP APIs to connect to a site and retrieve its file listing.
Dec 17.1999
DoFileDownload: Customize the IE Download Dialog
Customize the DoFileDownload folder to specify the path and
title, and return the download success.
Nov 28.2002
DoFileDownload: Download Files Using IE's Download Dialog
Use the Internet Explorer File Download dialog for both FTP and HTTP
file downloads in your application. Jan 8.2000
FtpGetFile: Download Files via FTP
Adding to the FTP demo adding file download ability.
Dec 17.1999
FtpFindFirstFile: Download Files via FTP with a Download Progress Callback
How to use callbacks to present a progress bar and file size
transferred from a FTP download session. Oct
27.2001 |
|
|
History
vb6
vb5
vb4-32 |
CoCreateInstance: Delete the IE History Cache
Code to delete the IE History.
April 25.2005 |
|
|
HTTP
vb6
vb5
vb4-32 |
URLDownloadToFile: Fast, Simple and Transparent File Downloads
Pass the remote file URL and local file name and have this
API handle the download in a few lines of code.
Feb 22.2002
URLDownloadToFile: Fast, Simple and Transparent File Downloads Bypassing the IE Cache
Pass the remote file URL and local file name and have this
API handle the download, deleting the same file from the
cache prior to download to ensure a fresh file is obtained.
June 18.2004 |
|
|
Internet Cache
vb6
vb5
vb4-32 |
FindFirstUrlCacheEntry: Delete the IE Cache
Using DeleteUrlCacheEntry to empty the internet cache programmatically.
Dec 06.1999
CoCreateInstance: Delete the IE History Cache
Code to delete the IE History.
April 25.2005
URLDownloadToFile: Fast, Simple and Transparent File Downloads Bypassing the IE Cache
Pass the remote file URL and local file name and have this
API handle the download, deleting the same file from the
cache prior to download to ensure a fresh file is obtained.
June 18.2004
FindFirstUrlCacheEntry: Obtain the Contents of the IE Cache
Find URL and cookie info from your Internet cache.
Nov 16.1999 |
|
|
IP Address
vb6
vb5
vb4-32 |
gethostbyname: Determine Network Host Name and IP Address
Use these simple routines to obtain the user's machine name and their IP address
Aug 27.1998
gethostbyname: Resolve Host Name to IP Address
Pass a domain name and return the IP address Mar 23.2000
gethostbyaddr: Obtain Host Name from IP Address
Pass an IP address to this routine, and retrieve the host name. May 03.2000
GetAdaptersInfo: Get the DHCP Server IP
Function returning the IP Address of the connected DHCP server. Apr 25.2001
GetAdaptersInfo: Get the IPs for all DHCP Servers
For multiple NICs or multiple DHCP servers, a function to return all IP addresses for all connected DHCP servers. Apr 25.2001
GetAdaptersInfo: Get the Network Adapter IP Address
Function returning the IP Address of the local adapter. NetBIOS is not required. Apr25.2001
GetAdaptersInfo: Get IP Addresses for All Installed Network Adapters
For multiple NICs, a function to return all local IP addresses for all active adapters. NetBIOS is not required. Apr 25.2001
URLDownloadToFile: Obtain Machine's Public IP Behind Router
Download and parse a shtml file
returning the public IP address of the machine.
Jan 5.2005
|
|
|
Paths
vb6
vb5
vb4-32
|
PathIsURL: Determine if String is Valid URL Format
Determines if a string string conforms to a valid URL format.
Apr 8.2001
PathFindExtension: File Extension from Local/Remote/IP/UNC Filename
Searches a path for an extension. April 25.2001
PathFindFileName: File Path from Local/Remote/IP/UNC Filename
Searches a path for a file name. April 25.2001
PathRemoveExtension: Returns Filename with Extension Removed
Removes the file extension from a path, if there is one. April 25.2001
PathStripPath: Removes Path Portion of Fully-qualified Path/Filename
Removes the path portion of a fully qualified path and file. April 25.2001
PathUnquoteSpaces: Removes Wrapping Quotes from Paths/Filenames
Removes quotes from the beginning and end of a path. April 25.2001
PathStripToRoot: Remove All Parts of a Path Except for Root Information
Removes all parts of the path except for the root information.
April 25.2001
|
|
|
Ping
vb6
vb5
vb4-32 |
IcmpSendEcho: Ping a Machine by IP Address
Ping any IP address from your VB app with this!
Aug 27.1998IcmpSendEcho: Ping a Machine by Host Name
Similar to the IP ping, this takes a domain name, resolves it, then pings. Mar 23.2000
|
|
|
TraceRT
vb6
vb5
vb4-32 |
IcmpSendEcho: Perform a Tracert (Trace Route) in VB
Code to perform a tracert (trace route) in VB. Oct
30.2000IcmpSendEcho: Perform a Tracert (Trace Route) in VB with Host Name Resolution
Based on the same code as above, adds a function to resolve the host name for the IP traced. Oct 30.2000 |
|
|
URLs
vb6
vb5
vb4-32 |
UrlUnescape: Encoding and Decoding URL Escape Characters
Replacing unsafe characters in a URL. Jul 9.2001
UrlCanonicalize: Proper URL Path Encoding and Decoding
Converting a URL string into canonical form.
Jul 9.2001
UrlCreateFromPath: Proper URL Path Conversion from a DOS Path
Converting a DOS path and into a canonicalized URL. Jul 9.2001
UrlGetPart: Determine the Constituent Parts of a URL
Code to break a URL into its constituent members. Jul 9.2001 |
|
|
Version Info
vb6
vb5
vb4-32 |
DllGetVersion: Basic Internet Explorer Version Info
API code to retrieve the current version of Internet Explorer.
Nov 27.1999
DllGetVersion: Detailed Internet Explorer Version Info
Update to the original DllGetVersion: Basic Internet Explorer Version Infocovering IE versions 3.x through 6.x.
Apr 16.2002
|
|
|
WHOIS
vb6
vb5
vb4-32 |
Pure VB: Obtaining a Listing of WHOIS Servers
Connect and retrieve a listing of world-wide WHOIS servers.
Mar 19.2002
Pure VB: Retrieving WHOIS Data for a Registered Domain
The minimal code to retrieve WHOIS data from a WHOIS server for a
specified domain name.
Mar 19.2002 |
|
|
Winsock
vb6
vb5
vb4-32 |
SetSystemTime: SNTP Time Server Synchronization using Winsock
Using the Winsock control to connect to Internet Time Servers for
system date/time synchronization.
Feb 3.2002
A Basic TCP/IP Winsock Chat Program
Winsock TCP/IP client and server demos forming the basis of a fully-functioning Chat program.
Feb 12.2000 |
|
|