Jump: Search:

Total Visual SourceBook

Total Visual SourceBook CD and Printed Manual

Microsoft Access 2007/2010 Version
is Shipping!

New features in Total Visual SourceBook for Access, Office 2007 and VB6

Supports Access/Office 2010 (32 bit), 2007, 2003, 2002, 2000, and
Visual Basic 6.0!

Also available for:
Access 97/95


View all FMS products for Microsoft AccessAll Our Microsoft Access Products

SourceBook Info:

Why SourceBook?

 

"The code is exactly how I would like to write code and the algorithms used are very efficient and well-documented."

Van T. Dinh, Microsoft MVP

 

 

 

 

 
Royalty free source code library modules for Microsoft Access, VB6, VBA, OfficeRoyalty free source code library modules for Microsoft Access, VB6, VBA, OfficeVBA and VB6 Source Code Library Download the free trial version of Total Visual SourceBook for Microsoft Access, Office, VB6 and VBA
Category: Internet/Web : HTTP/FTP
Description: Code to work with Internet protocols such as HTTP and FTP (File Transfer Protocol), and working with the Internet Transfer control

Class: CInternetHTTP

Working with HTTP connections, data, and sessions

You can use the functionality in this class to query HTTP servers, request and send data, and manage HTTP sessions. This class works directly through the WININET.DLL library, so it requires no additional OCX or control files. This means you can distribute simple HTTP functionality with your application with little overhead. WININET.DLL is part of Internet Explorer.

Procedure Name

Type

Description

(Declarations) Declarations Declarations and private variables for the CInternetHTTP class
ConnectHandle Property Get the connection handle
DLLVersionMajor Property Get the major version number of the the WinInet.DLL library
DLLVersionMinor Property Get the minor version number of the the WinInet.DLL library
HTTPRequestHandle Property Gets the HTTPRequest Handle
OptionBufferLen Property Sets the Option Buffer Length. Used for HttpSendRequest (Function SendRequest).
OptionBufferString Property Gets the current Option Buffer String. Used for HttpSendRequest (Function SendRequest).
ProxyName Property Sets the Proxy Name
ProxyPassword Property Gets the current Proxy password
SessionHandle Property Gets the Session Handle
URL Property Gets the current URL
UserAgent Property Gets the current User Agent (a string that identifies the client to the HTTP server). This can any string, but is typically comprised of text identifying a specific browser.
username Property Gets the current User Name
UserPassword Property Sets the user password
Class_Initialize Initialize Set initial values to defaults which may be overridden with property settings
Class_Terminate Terminate Code to terminate the class and close all connection handles.
CloseConnection Method Used to close any handle passed to it.
GetMainURL Private Requests the Main part of the provided URL.
GetQueryInfo Method Reads the information from the Server.
GetUrlSubObject Private Requests the sub directory or object of the provided URL.
OpenConnection Method Opens a Connection to the provided URL. Must have opened a Session prior to calling this function.
OpenHeaders Method Requests the Headers from the URL. Must have opened a Session, then a Connection, then a HTTPRequest Handle prior to calling this function.
OpenHTTP Method Requests the provided URL. Must have opened a Session then a Connection prior to calling this function.
OpenSession Method Opens a session handle to the WinINET dll. This must be done before any connections or retrieval parts of the class are called. NOTE: "UserAgent" should have been set already.
QueryInfo Method Queries the information from the Server, and returns it to the caller
ReadFile Method Reads the information from the Server, and returns it to the caller
SendRequest Method Sends the request for information from the URL server.
SetOptionStrings Method Reads Proxy and User information from the Server. NOTE: Not designed to set both at the same time. Caller handles what error is returned from original QueryInfo request and uses this function appropriately.
SetTimeOuts Method Sets time outs lengths for connection time, receive time, and send time

Overview of Total Visual SourceBook

The source code in Total Visual SourceBook includes modules and classes for Microsoft Access, Visual Basic 6 (VB6), and Visual Basic for Applications (VBA) developers. Easily add this professionally written, tested, and documented royalty-free code into your applications to simplify your application development efforts.

Additional Resources

Feedback

Contact Us  l   Web questions: Webmaster   l   Copyright © FMS, Inc., Vienna, Virginia
Celebrating our 26th Year of Software Excellence