This chapter is a conglomerate of controls that do not fit strictly into any categories. Most of the controls are communication-related such as the TCP/IP, MIME, SMTP, and so on. These controls will be useful when you want to develop systems such as electronic drop-in boxes, Web presence, interface to legacy systems, and even specialized electronic mail systems.
The Microsoft Internet Explorer Web browser object theoretically cannot be inserted into your Web page by using the ActiveX Control Pad; however, you can program this object as any other control in your VBScript or JavaScript. Usually, the Internet Explorer object is the parent object for all your controls.
Vendor: Microsoft Corporation.
http://www.microsoft.com/activex/gallery
Figure 21.1 : The Internet Explorer control
Property | Description |
Application | The control container OLE automation object |
Busy | The state of the object |
Container | The container application of the control, if any |
Document | The OLE automation/active document of the object |
FullName | The full name of the executable that contains this control/object |
FullScreen | The state indicating whether the screen is maximized or minimized |
Height | The vertical height of the object |
hWND | The handle of the Internet Explorer main window |
Left | The distance between the left edge of the browser and the left edge of the container |
LocationName | The name of the current page location |
LocationURL | The URL where the current page is located |
MenuBar | True, if the menu is visible |
Name | The name of the application |
Parent | The next upper-level object, if any |
Path | The full path name of the application |
StatusBar | Set these properties to True to make the status bar visible |
StatusText | Set to True to make the Status bar text visible |
Width | The width of the control, in points |
Method | Description |
ClientToWindow | Converts the coordinates that are relative to the top-left corner of the IE client area to the top-left corner of the window |
GetProperty | Gets the value of a property of the object |
GoBack | Navigates to the previous URL in the history list |
GoForward | Navigates to the next URL in the history list |
GoHome | Navigates to the home/start URL |
GoSearch | Navigates to the search URL |
Navigate | Navigates to a specified URL |
PutProperty | Assigns or changes the property value of an object |
Quit | Closes the Internet Explorer Web browser object |
Refresh | Reloads the current Web page |
Refresh2 | Reloads the current Web page (with more control through the VBScript or JavaScript) |
Stop | Halts the current and pending Web operations |
Event | Description |
OnBeginNavigate | Triggers when the Web browser starts to navigate to an URL |
OnCommandStateChange | Triggers when a command changes state |
OnDownloadBegin | Triggers just before the start of a Web page downloading |
OnDownloadComplete | Triggers just after a Web page is downloaded |
onLoad | Triggers after an HTML layout is created |
OnNavigate | Triggers when the Web browser navigates to an URL |
OnNewWindow | Triggers just before a new display window is created by the Web browser |
OnProgress | Triggers when the progress of a download operation is updated by the Web browser |
OnPropertyChange | Triggers when the PutProperty method changes the value of a property |
OnQuit | Triggers when the Internet Explorer object is ready to quit |
OnStatusTextChange | Triggers after the text in the status bar is changed |
OnWindowActivated | Triggers at the activation of the Internet Explorer object's main window |
OnWindowMove | Triggers after the Internet Explorer object's main window is moved |
OnWindowSized | Triggers when the Internet Explorer object's main window is resized |
<HTML> <HEAD> <TITLE>New Page</TITLE> </HEAD> <BODY> <SCRIPT LANGUAGE="VBScript"> <!-- Sub WebBrowser1_ProgressChange(Progress, ProgressMax) ' You can build a progress bar with the ProgressMax ' as the width and the Progress as the current progress ' value end sub Sub WebBrowser1_Quit(Cancel) ' Some code before the browser object closes end sub --> </SCRIPT> <OBJECT ID="WebBrowser1" WIDTH=525 HEIGHT=278 CLASSID="CLSID:EAB22AC3-30C1-11CF-A7EB-0000C05BAE0B"> <PARAM NAME="Height" VALUE="278"> <PARAM NAME="Width" VALUE="525"> <PARAM NAME="AutoSize" VALUE="0"> <PARAM NAME="ViewMode" VALUE="1"> <PARAM NAME="AutoSizePercentage" VALUE="0"> <PARAM NAME="AutoArrange" VALUE="1"> <PARAM NAME="NoClientEdge" VALUE="1"> <PARAM NAME="AlignLeft" VALUE="0"> </OBJECT> </BODY> </HTML>
This is the top-level object.
The Crescent Internet ToolPak File Transfer Protocol (CIFTP) control implements the RFC 959 FTP in an ActiveX control. With the FTP control, you can build customized FTP applications to copy files to and from FTP servers, monitor and recognize FTP sites for changes, and so on. The CIFTP has events, methods, and properties that give access to low-level FTP interactions such as opening an FTP site, providing a password, and so on. The CIFTP also supports high-level aggregate functions or tasks such as downloading a file from an FTP server or getting a directory listing from the FTP server.
Vendor: Crescent Software, a Division of Progress Software
http://crescent.progress.com
This is a back-end control, so there is no graphic for this control during the runtime.
Property | Description |
AccessPort | The control channel port number |
Codebase | The origin of the control, including the URL, file type, and version number |
DataPort | The data channel port number |
DirectoryListBoxName | The list box to populate a remote FTP server directory |
EventState | The current status of the control |
FileListBoxName | The list box populated by remote FTP server file names |
Height | The vertical height of the object |
HostAddress | The IP address of the FTP server |
HostName | The DNS name of the FTP server |
ID | The name of this FTP control |
Left | The distance between the left edge of the control and the left edge of the HTML layout |
LocalFileName | The full path and file name for the client |
LoginName | The FTP logon name |
MethodState | The ID of the currently running method |
Password | The FTP password |
RemoteFileName | The file name at the FTP server |
RepresentationType | The data stream type (A-ACCII, B-Binary, E-EBCDIC) |
ServerOSType | The FTP server's operating system |
Top | The distance between the top edge of the control and the top edge of the HTML layout |
Width | The width of the control, in points |
WorkingDirectory | The FTP server's current working directory |
Method | Description |
CDUP | Moves the current directory up one; no effect if the current directory is the root |
CleanupConnection | Closes the socket and cleans up the WINSOCK. For normal operations, you should use the QUIT method. This is used only as a final resort |
ConnectToAccessControlChannel | Establishes a connection to an FTP server control channel |
ConnectToDataChannel | Establishes a connection to the data channel of an FTP server |
CWD | Changes the current working directory in the remote FTP server |
GetDirectory | Gets a directory listing from the FTP server; this is a higher-level function |
GetFile | Retrieves a file from the FTP server; this is a higher-level function |
LIST | Gets a directory of the current working directory in the FTP server |
PASS | Sends the password to the FTP server |
PASV | Gets a data port from the FTP server |
PutFile | Sends a local file to the FTP server; this is a higher-level function. |
PWD | Gets the present working directory in the FTP server |
QUIT | Ends an FTP session with an FTP server |
RETR | Updates a local file from the FTP server |
SendFTPCommand | Sends an arbitrary FTP command (not implemented by this control) to the server |
STOR | Sends a local file to the FTP server |
SYST | Gets the system name from the FTP server |
TYPE | Sets binary or ACSII stream type |
USER | Sends a user name to the FTP server |
Zorder | The object is positioned in the container at the front or back |
Event | Description |
AccessControlChannelClosed | Triggers when the FTP connection is closed |
AccessControlChannelConnection | Triggers when the FTP connection to a control channel is established |
AccessControlPacketReceived | Triggers when a control packet is received across the control channel |
AccessControlPacketSent | Triggers when a control packet is sent across the control channel |
DataControlChannelClosed | Triggers when a data channel is closed |
DataControlChannelConnection | Triggers when the FTP connection to a data channel is established |
DataControlPacketReceived | Triggers when a packet is received across the data channel |
DataPortSet | Triggers when the PASV method populates the DataPort property |
EventStateChanged | Triggers when the EventState property of any of the events change |
FileClosed | Triggers when the local file stream is closed |
GotDirectory | Triggers when the GetDirectory method successfully completes |
GotFile | Triggers when the GetFile method successfully completes |
InternetError | Triggers when an error occurs in the high level methods |
ListBoxesPopulated | Triggers when a DirectoryListBox or FileListBox object is populated |
MethodStateChanged | Triggers when any of the method state changes |
PutFile | Triggers when the PutFile method successfully completes |
SocketClosed | Triggers after a socket is closed |
TotalFileBytesReceived | Triggers after every data packet is received with the updated bytes received value |
WSAError | Triggers when the FTP control encounters a WINSOCK error |
<OBJECT ID="CIFTP1" WIDTH=100 HEIGHT=50 CLASSID="CLSID:3E222583-0E36-11CF-8576-0080C7973784"> <PARAM NAME="_Version" VALUE="65536"> <PARAM NAME="_ExtentX" VALUE="2117"> <PARAM NAME="_ExtentY" VALUE="1058"> <PARAM NAME="_StockProps" VALUE="0"> <PARAM NAME="AccessChannelConnectionWAV" VALUE=""> <PARAM NAME="AccessChannelClosedWAV" VALUE=""> <PARAM NAME="DataChannelConnectionWAV" VALUE=""> <PARAM NAME="DataChannelClosedWAV" VALUE=""> <PARAM NAME="FileClosedWAV" VALUE=""> <PARAM NAME="ListBoxesPopulatedWAV" VALUE=""> <PARAM NAME="SocketClosedWAV" VALUE=""> <PARAM NAME="WSAErrorWAV" VALUE=""> <PARAM NAME="HostName" VALUE="ftp://ftp.mcp.com"> <PARAM NAME="HostAddress" VALUE=""> <PARAM NAME="RemoteFileName" VALUE=""> <PARAM NAME="LoginName" VALUE=""> <PARAM NAME="Password" VALUE=""> <PARAM NAME="RepresentationType" VALUE=""> <PARAM NAME="WorkingDirectory" VALUE=""> </OBJECT>
The Crescent Internet HTTP (CIHTTP) control provides a very versatile Web browser object. Its functionality includes the capability to retrieve and send data to any Web site as well as get header and other information about the Web sites. The CIHTTP also has capabilities to parse the retrieved data and to pipe the data to other controls.
The CIHTTP control is well-suited for Web crawler applications, Web data retrieval and data-entry back-end applications, and so on.
Vendor: Crescent Software, a Division of Progress Software
http://crescent.progress.com
Property | Description |
Codebase | The origin of the control, including the URL, file type, and version number |
EventState | The ID of the control event in progress |
Height | The vertical height of the object |
HostAddress | The IP address of the HTTP server |
HostName | The DNS name of the HTTP server |
HTMLPageTextWithoutTags | The parsed Web page without HTML formatting tags |
HTMLPageTextWithTags | The parsed Web page with HTML formatting tags |
HTTPPort | The port used for the HTTP access |
ID | The name of this HTTP control |
Left | The distance between the left edge of the control and the left edge of the HTML layout |
LocalFileName | The full path and file name for the client |
MethodState | The ID of the currently running method |
ParseIncomingData | Set to True, to parse the Web data based on HTML codes |
ProxyServerAddress | IP address of the Web proxy server, which is usually a firewall |
ProxyServerName | The DNS name of the Web proxy server, which is usually a firewall |
Top | The distance between the top edge of the control and the top edge of the HTML layout |
URL | The URL for the current request |
Width | The width of the control, in points |
WWWSiteName | The name of the current Web page |
Method | Description |
CleanupConnection | Closes the socket and cleans up the WINSOCK; for normal operations, you should use the QUIT method; this is used only as a final resort |
ConnectToHTTPServer | Establishes a connection to an HTTP server |
GET | Retrieves a Web page |
HEAD | Retrieves the header information from a Web site |
POST | Sends data to an HTTP server |
SendHTTPCommand | Sends an arbitrary HTTP command (not implemented by this control) to the server |
Zorder | The object is positioned in the container at the front or back |
Event | Description |
EventStateChanged | Triggers when the EventState property of any of the events change |
FileClosed | Triggers when the local file stream is closed |
HTTPServerConnectionClosed | Triggers when a connection to the HTTP server is closed |
HTTPServerConnection | Triggers when a connection to the HTTP server is established |
ListBoxesPopulated | Triggers when an AnchorListBox, ImageListBox, or TagListBox object is populated |
MethodStateChanged | Triggers when any of the method state changes |
PacketReceived | Triggers when a data packet is received from the HTTP server |
PacketSent | Triggers when a data packet is sent to the HTTP server |
SocketClosed | Triggers after a socket is closed |
TotalFileBytesReceived | Triggers after every data packet is received with the updated bytes received value |
WSAError | Triggers when the HTTP control encounters a WINSOCK error |
<OBJECT ID="CIHTTP1" WIDTH=100 HEIGHT=50 CLASSID="CLSID:DE90AEA3-1461-11CF-858F-0080C7973784"> <PARAM NAME="_Version" VALUE="65536"> <PARAM NAME="_ExtentX" VALUE="2117"> <PARAM NAME="_ExtentY" VALUE="1058"> <PARAM NAME="_StockProps" VALUE="0"> <PARAM NAME="FileClosedWAV" VALUE=""> <PARAM NAME="HTTPServerConnectionWAV" VALUE=""> <PARAM NAME="HTTPServerConnectionClosedWAV" VALUE=""> <PARAM NAME="ListBoxesPopulatedWAV" VALUE=""> <PARAM NAME="PacketReceivedWAV" VALUE=""> <PARAM NAME="PacketSentWAV" VALUE=""> <PARAM NAME="SocketClosedWAV" VALUE=""> <PARAM NAME="WSAErrorWAV" VALUE=""> <PARAM NAME="URL" VALUE=""> <PARAM NAME="HostName" VALUE=""> <PARAM NAME="HostAddress" VALUE=""> <PARAM NAME="ProxyServerName" VALUE=""> <PARAM NAME="ProxyServerAddress" VALUE=""> </OBJECT>
The Crescent Internet ToolPak MIME control implements the MIME capabilities as per RFCs 1521 and 1522. The control can be used to encode and decode files according to the MIME standard.
Vendor: Crescent Software, a Division of Progress Software
http://crescent.progress.com
Property | Description |
Codebase | The origin of the control, including the URL, file type, and version number |
ContentType | The type of the data |
DestinationFileName | The full path and file name for the result file |
DestinationFileSize | The size of the result file |
FileStatus | Set to True to trigger encoded and decoded events |
SourceFileName | The source file name for encode or decode operations |
SourceFileSize | The size of the source file |
Method | Description |
MIMEDecode | Code a file using the MIME standards |
MEMEDecode | Decode a MIME-coded file |
Event | Description |
Decoded | Triggers after a MIME file is converted |
DecodingFinished | Triggers at the end of the decoding process |
DecodingStarted | Triggers at the beginning of the decoding process |
Encoded | Triggers after a file is converted as per MIME standards |
EncodingFinished | Triggers at the end of the encoding process |
EncodingStarted | Triggers at the beginning of the encoding process |
<OBJECT ID="CIMIME1" WIDTH=100 HEIGHT=50 CLASSID="CLSID:22E7B463-8C01-11CF-A07E-444553540000"> <PARAM NAME="_Version" VALUE="65536"> <PARAM NAME="_ExtentX" VALUE="2117"> <PARAM NAME="_ExtentY" VALUE="1058"> <PARAM NAME="_StockProps" VALUE="0"> <PARAM NAME="SourceFilename" VALUE=""> <PARAM NAME="DestinationFilename" VALUE=""> </OBJECT>
The Crescent Internet ToolPak Network News Transfer Protocol (CINEWS) control implements RFC 977 in an ActiveX control. With the CINEWS control, you can build customized news retrieval, posting, and other news feed applications.
Vendor: Crescent Software, a Division of Progress Software
http://crescent.progress.com
Property | Description |
ArticleBody | The contents of one news item |
ArticleHeader | The header of one news item |
ArticleNumber | The sequence number of the article to be retrieved |
Codebase | The origin of the control, including the URL, file type, and version number |
Date | The news date |
Distributions | List of news subjects for which news can be retrieved |
EventState | The current status of the control |
FirstArticle | The number of the topmost article in the requested group |
Height | The vertical height of the object |
HostAddress | The IP address of the news server |
HostName | The DNS name of the news server |
ID | The name of this control |
LastArticle | The number of the bottommost article in the requested group |
Left | The distance between the left edge of the control and the left edge of the HTML layout |
ListGroupNamesOnly | This property has to be set to True to list only the newsgroup names |
LocalFileName | The full path and file name for the client news file |
MessageID | The message ID of the news article |
MethodState | The ID of the currently running method |
NewsGroup | The newsgroup name |
NNTPPort | The news port name |
ParseIncomingData | This property has to be set to True to parse the incoming data |
Time | The news time |
Top | The distance between the top edge of the control and the top edge of the HTML layout |
TotalArticles | The number of articles in the current newsgroup |
TotalGroups | The number of groups available in the news server |
Width | The width of the control, in points |
Method | Description |
Article | Fetches the article header and body |
Body | Fetches the body of an article |
CleanupConnection | Closes the socket and cleans up the WINSOCK; for normal operations, you should use the QUIT method; this is used only as a final resort |
ConnectToNNTPServer | Establishes a connection to a news server |
Group | Fetches the group counters-FirstArticle, LastArticle, and TotalArticles |
Head | Fetches the head of a news article |
Last | Sets the news pointer to the previous article |
List | Fetches a list of groups |
NewsGroups | Fetches the list of groups created since the specified date and time |
NewNews | Fetches the news list created since the specified date and time |
Next | Sets the news pointer to the next news article |
POST | Sends a news article to a group |
QUIT | Ends connection with a news server |
RETR | Updates a local file from the NNTP server |
Slave | Sends a notification that the client is a slave server, not an individual user |
STAT | Sets the news pointer to a specified news article |
Zorder | The object is positioned in the container at the front or back |
Event | Description |
ArticleReceived | Triggers when a news article is received |
EventStateChanged | Triggers when the EventState property of any of the events changes |
FileClosed | Triggers when the local file stream is closed |
GroupInformationReceived | Triggers when the FirstArticle, LastArticle, and TotalArticles properties are refreshed |
MethodStateChanged | Triggers when any of the method state changes |
NNTPConnection | Triggers after a news server connection is established |
NNTPConnectionClosed | Triggers after a news server connection is closed |
PacketReceived | Triggers when a data packet is received from the news server |
PacketSent | Triggers when a data packet is sent to the news server |
SocketClosed | Triggers after a socket is closed |
WSAError | Triggers when the NNTP control encounters a WINSOCK error |
<OBJECT ID="CINEWS1" WIDTH=100 HEIGHT=50 CLASSID="CLSID:168663E3-186D-11CF-859F-0080C7973784"> <PARAM NAME="_Version" VALUE="65536"> <PARAM NAME="_ExtentX" VALUE="2117"> <PARAM NAME="_ExtentY" VALUE="1058"> <PARAM NAME="_StockProps" VALUE="0"> <PARAM NAME="FileClosedWAV" VALUE=""> <PARAM NAME="NNTPServerConnectionWAV" VALUE=""> <PARAM NAME="NNTPServerConnectionClosedWAV" VALUE=""> <PARAM NAME="ListBoxesPopulatedWAV" VALUE=""> <PARAM NAME="PacketReceivedWAV" VALUE=""> <PARAM NAME="PacketSentWAV" VALUE=""> <PARAM NAME="SocketClosedWAV" VALUE=""> <PARAM NAME="WSAErrorWAV" VALUE=""> <PARAM NAME="Distributions" VALUE=""> <PARAM NAME="ArticleNumber" VALUE=""> <PARAM NAME="MessageID" VALUE=""> <PARAM NAME="ArticleHeader" VALUE=""> <PARAM NAME="ArticleBody" VALUE=""> <PARAM NAME="HostName" VALUE=""> <PARAM NAME="HostAddress" VALUE=""> <PARAM NAME="NewsGroup" VALUE=""> <PARAM NAME="Date" VALUE=""> <PARAM NAME="Time" VALUE=""> </OBJECT>
The Crescent Internet ToolPak Post Office Protocol (CIPOP) control implements RFC 959's POP3 in an ActiveX control. With the POP control, you can build customized mail applications.
Vendor: Crescent Software, a Division of Progress Software
http://crescent.progress.com
Property | Description |
Codebase | The origin of the control, including the URL, file type, and version number |
HostAddress | The IP address of the POP server |
HostName | The DNS name of the POP server |
ID | The name of this POP control |
Left | The distance between the left edge of the control and the left edge of the HTML layout |
LocalFileName | The full path and file name for the client |
MailPort | The port address for the mail service |
Message | The mail message |
MessageBody | The body part of the mail message |
MessageDate | The date of the mail message |
MessageHeader | The header part of the mail message |
MessageNumber | The sequence number of the mail message |
MessageSubject | The subject part of the mail message |
Password | The mailbox password |
RecvTimeout | The time in milliseconds to wait before triggering a timeout during receive operations |
Sender | The sender of the mail message |
SendTimeout | The time in milliseconds to wait before triggering a timeout during send operations |
TotalMessages | The number of messages in the connected mailbox |
UserName | The mailbox user name |
Top | The distance between the top edge of the control and the top edge of the HTML layout |
Width | The width of the control, in points |
Method | Description |
CleanupConnection | Closes the socket and cleans up the WINSOCK; for normal operations, you should use the QUIT method; this is used onlyas a final resort |
ConnectToPOPServer | Establishes a connection to a POP server |
DELE | Deletes a mail message |
LIST | Fetches the message size |
NOOP | Gets the connection status to a mail server |
PASS | Sends the mail password to the mail server and verifies that it is correct |
QUIT | Ends a POP session with a mail server |
RETR | Fetches a mail message |
RSET | Resets the state of the mailbox |
STAT | Fetches the TotalMessages property |
USER | Sends the user name to the mail server |
Zorder | The object is positioned in the container at the front or back |
Event | Description |
MessageReceived | Triggers after a message is received and parsed by the control |
PacketReceived | Triggers when a data packet is received from the mail server |
PacketSent | Triggers when a data packet is sent to the mail server |
SocketClosed | Triggers after a socket is closed |
STATReceived | Triggers when the TotalMessages property is refreshed |
WSAError | Triggers when the POP control encounters a WINSOCK error |
<OBJECT ID="CIPOP1" WIDTH=100 HEIGHT=50 CLASSID="CLSID:25f737f7-0D72-11CF-856B-0080C7973784"> <PARAM NAME="_Version" VALUE="65536"> <PARAM NAME="_ExtentX" VALUE="2117"> <PARAM NAME="_ExtentY" VALUE="1058"> <PARAM NAME="_StockProps" VALUE="0"> <PARAM NAME="POPServerConnectionWAV" VALUE=""> <PARAM NAME="POPServerConnectionClosedWAV" VALUE=""> <PARAM NAME="MessageReceivedWAV" VALUE=""> <PARAM NAME="STATReceivedWAV" VALUE=""> <PARAM NAME="PacketReceivedWAV" VALUE=""> <PARAM NAME="PacketSentWAV" VALUE=""> <PARAM NAME="SocketClosedWAV" VALUE=""> <PARAM NAME="WSAErrorWAV" VALUE=""> <PARAM NAME="LocalFileName" VALUE=""> <PARAM NAME="HostAddress" VALUE=""> <PARAM NAME="HostName" VALUE=""> <PARAM NAME="MessageNumber" VALUE=""> <PARAM NAME="Password" VALUE=""> <PARAM NAME="UserName" VALUE=""> </OBJECT>
The Crescent Internet ToolPak Simple Mail Transfer Protocol (CISMTP) control implements RFC 821's SMTP in an ActiveX control. With the SMTP control, you can build customized mail applications.
Vendor: Crescent Software, a Division of Progress Software
http://crescent.progress.com
Property | Description |
BC | The address to which a blind copy of the message will be sent |
CC | The address to which a carbon copy of the message will be sent |
Codebase | The origin of the control, including the URL, file type, and version number |
DomainName | The domain name of the SMTP server |
HostAddress | The IP address of the SMTP server |
HostName | The DNS name of the SMTP server |
ID | The name of this SMTP control |
Left | The distance between the left edge of the control and the left edge of the HTML layout |
MailList | The mail list whose members are being viewed |
MailPort | The port address for the mail service |
MessageBody | The body part of the mail message |
MessageSubject | The subject part of the mail message |
Recipient | The address of the mail recipient |
RecvTimeout | The time in milliseconds to wait before triggering a timeout during receive operations |
Sender | The sender of the mail message |
SendTimeout | The time in milliseconds to wait before triggering a timeout during send operations |
Top | The distance between the top edge of the control and the top edge of the HTML layout |
Width | The width of the control, in points |
Method | Description |
CleanupConnection | Closes the socket and cleans up the WINSOCK; for normal operations, you should use the QUIT method; this is used only as a final resort |
ConnectToSMTPServer | Establishes a connection to an SMTP server |
DATA | Sends the message to the SMTP server |
EXPN | Fetches the list of mail list subscribers |
ExpandMailList | High-level function (ConnectToSMTPServer, HELO, EXPN, and QUIT) to get a mail list |
HELO | Identifies the sender's SMTP server to the recipient's SMTP server |
Sends the server value to the SMTP server | |
NOOP | Gets the connection status to a mail server |
QUIT | Ends an SMTP session with an SMTP server |
RCPT | Sends the recipient value to the SMTP server |
RETR | Fetches a mail message |
RSET | Resets the state of the current mail transaction |
SendMail | High-level call (ConnectToSMTPServer, HELO, RCPT, MAIL, DATA, and QUIT) to send a mail message to the SMTP server |
VRFY | Verifies whether a name exists in the system |
Zorder | The object is positioned in the container at the front or back |
Event | Description |
PacketReceived | Triggers when a data packet is received from the mail server |
PacketSent | Triggers when a data packet is sent to the mail server |
SocketClosed | Triggers after a socket is closed |
WSAError | Triggers when the control encounters a WINSOCK error |
<OBJECT ID="CISMTP1" WIDTH=100 HEIGHT=50 CLASSID="CLSID:25f737f3-0D72-11CF-856B-0080C7973784"> <PARAM NAME="_Version" VALUE="65536"> <PARAM NAME="_ExtentX" VALUE="2117"> <PARAM NAME="_ExtentY" VALUE="1058"> <PARAM NAME="_StockProps" VALUE="0"> <PARAM NAME="SMTPServerConnectionWAV" VALUE=""> <PARAM NAME="SMTPServerConnectionClosedWAV" VALUE=""> <PARAM NAME="ListBoxPopulatedWAV" VALUE=""> <PARAM NAME="PacketReceivedWAV" VALUE=""> <PARAM NAME="PacketSentWAV" VALUE=""> <PARAM NAME="SocketClosedWAV" VALUE=""> <PARAM NAME="WSAErrorWAV" VALUE=""> <PARAM NAME="HostName" VALUE=""> <PARAM NAME="HostAddress" VALUE=""> <PARAM NAME="DomainName" VALUE=""> <PARAM NAME="Sender" VALUE=""> <PARAM NAME="Recipient" VALUE=""> <PARAM NAME="MailList" VALUE=""> <PARAM NAME="MessageBody" VALUE=""> <PARAM NAME="MessageSubject" VALUE=""> <PARAM NAME="CC" VALUE=""> <PARAM NAME="BC" VALUE=""> </OBJECT>
The Crescent Internet ToolPak TCP/IP Protocol (CITCP) control
implements the
TCP/IP protocol in an ActiveX control. With the TCP control, you
can build customized messaging and database applications on a
TCP/IP backbone structure.
Vendor: Crescent Software, a Division of Progress Software
http://crescent.progress.com
Property | Description |
Codebase | The origin of the control, including the URL, file type, and version number |
HostAddress | The IP address of the TCP/IP host server |
HostName | The DNS name of the TCP/IP host server |
ID | The name of this TCP control |
Left | The distance between the left edge of the control and the left edge of the HTML layout |
Port | The port address for the TCP/IP service |
ServiceName | Service name provided by the port |
Socket | The socket used by this control |
Top | The distance between the top edge of the control and the top edge of the HTML layout |
Width | The width of the control, in points |
Method | Description |
bGetHostByAddress | Fetches the host name when given a host address |
bGetHostByName | Fetches the host address when given a host name |
bGetHostName | Fetches the name of the local machine |
bGetServiceByName | Fetches the port number of a service |
bGetServiceByPort | Fetches the service name associated with a port |
CloseSocket | Closes the current socket |
ConnectToHost | Establishes a TCP/IP connection |
ListenForConnection | Waits on a port for connection requests from clients |
ListenForDatagram | Waits on a port for a datagram TCP/IP packet |
Send | Sends a TCP/IP packet to a host |
SendDatagram | Sends a datagram packet to a host |
Zorder | The object is positioned in the container at the front or back |
Event | Description |
BlockingFunctionCompleted | Triggers when a blocking operation is completed |
Connection | Triggers when a TCP/IP connection is established |
ConnectionClosed | Triggers when a TCP/IP connection is closed |
PacketReceived | Triggers when a TCP/IP packet is received |
PacketSent | Triggers when a TCP/IP packet is sent |
PropertyChanged | Triggers when a property is refreshed |
WSAError | Triggers when the TCP control encounters a WINSOCK error |
<OBJECT ID="CITCP1" WIDTH=100 HEIGHT=50 CLASSID="CLSID:168663EB-186D-11CF-859F-0080C7973784"> <PARAM NAME="_Version" VALUE="65536"> <PARAM NAME="_ExtentX" VALUE="2117"> <PARAM NAME="_ExtentY" VALUE="1058"> <PARAM NAME="_StockProps" VALUE="0"> <PARAM NAME="HostName" VALUE=""> <PARAM NAME="HostAddress" VALUE=""> <PARAM NAME="ServiceName" VALUE=""> </OBJECT>
The Crescent Internet ToolPak UUEncode/Decode Control (CIUU) implements the encoding and decoding capabilities as per RFCs 1521 and 1522. The control can be used to encode and decode files as per the MIME standard.
Vendor: Crescent Software, a Division of Progress Software
http://crescent.progress.com
Property | Description |
Codebase | The origin of the control, including the URL, file type, and version number |
DestinationFileName | The full path and file name for the result file |
DestinationFileSize | The size of the result file |
FireStatus | This property needs to be set to True to trigger encoded and decoded events |
SourceFileName | The source file name for an encode or decode operation |
SourceFileSize | The size of the source file |
Method | Description |
UUDecode | Codes a file using the MIME standards |
UUEncode | Decodes a MIME-coded file |
Event | Description |
Decoded | Triggers after a MIME file is converted |
DecodingFinished | Triggers at the end of the decoding process |
DecodingStarted | Triggers at the beginning of the decoding process |
Encoded | Triggers after a file is converted as per MIME standards |
EncodingFinished | Triggers at the end of the encoding process |
EncodingStarted | Triggers at the beginning of the encoding process |
<OBJECT ID="CIUU1" WIDTH=100 HEIGHT=50 CLASSID="CLSID:C27DB763-51D0-11CF-83A1-444553540000"> <PARAM NAME="_Version" VALUE="65536"> <PARAM NAME="_ExtentX" VALUE="2117"> <PARAM NAME="_ExtentY" VALUE="1058"> <PARAM NAME="_StockProps" VALUE="0"> <PARAM NAME="SourceFilename" VALUE=""> <PARAM NAME="DestinationFilename" VALUE=""> </OBJECT>
The Microsoft Certificate Enrollment control (Certenroll) is an ActiveX control (implemented as a DLL) that can be used to create certificate-related functions. The control has methods to generate the public/private key pair, build a certificate request in the PKCS #10 format, and accept and install certificates (of the PKCS #7 format). The control has a built-in enrollment wizard to perform all these functions.
Vendor: Microsoft Corporation
http://www.microsoft.com/intdev/security/csa/enroll-f.htm
There are no properties for the Certificate Enrollment control.
Method | Description |
AcceptCredentials | Accepts the certificate and puts it in an appropriate place on the local machine for future reference |
GenerateKeyPair | Generates a public/private key pair and a PKCS #10 request |
GetCredentialsLocation | This is the file where the current credentials are associated |
SetSessionInfoIfNeeded | Sets the location of the PVK file |
There are no events for the Certificate Enrollment Control.
<OBJECT classid="clsid:33BEC9E0-f78F-11cf-B782-00C04FD7Bf43" codebase=certenr3.dll id=certHelper> </OBJECT>
The Dameware Telephony API Dial control is an ActiveX control that can be used to add telephone dialing capabilities to any Web application.
Vendor: Dameware Development
http://www.mi-inc.com/~dameware
Property | Description |
Codebase | The origin of the control, including the URL, file type, and version number |
Height | The height of this control, in points |
ID | The name of this TAPI Dial control |
Left | The distance between the left edge of the control and the left edge of the HTML layout |
Top | The distance between the top edge of the control and the top edge of the HTML layout |
Width | The width of the control, in points |
Method | Description |
Dial | Dials a number |
DialUsing | Displays the Dial dialog box and dials as per the user entries |
DialProperties | Displays the native TAPI properties dialog box |
DialPropertiesNumber | Displays the TAPI properties dialog box for a specific number |
Event | Description |
Click | Triggers when a control is clicked with the mouse; also triggers when the user selects a value in a multi-value control such as the list box |
DblClick | Triggers when a control is double-clicked |
KeyDown | Triggers when a user presses a control, navigation, or function key |
KeyUp | Triggers when a user releases a control, navigation, or function key |
KeyPress | Triggers when a key is either pressed by the user or sent from the SendKeys function |
<OBJECT ID="TapiDial1" WIDTH=32 HEIGHT=32 CLASSID="CLSID:1Cf8f5D9-Df22-11CF-B0B6-0000f63A6615"> <PARAM NAME="_Version" VALUE="65536"> <PARAM NAME="_ExtentX" VALUE="677"> <PARAM NAME="_ExtentY" VALUE="677"> <PARAM NAME="_StockProps" VALUE="0"> </OBJECT>
The Dameware RAS Dial control is an ActiveX control that can be used to add remote network dialing and access capabilities to any Web application.
Vendor: Dameware Development
http://www.mi-inc.com/~dameware
Figure 21.2 : The RAS Dial control
Property | Description |
Codebase | The origin of the control, including the URL, file type, and version number |
Height | The height of this control, in points |
ID | The name of this RAS Dial control |
Left | The distance between the left edge of the control and the left edge of the HTML layout |
RASEntry | The name of the current RAS connection |
RASUseCurrentUser | Logon with the current user profile |
Top | The distance between the top edge of the control and the top edge of the HTML layout |
Width | The width of the control, in points |
Method | Description |
RASConnect | Dials the current RASEntry |
RASDiagConfig | Displays the phone book form |
RASShutDown | Disconnects the current RAS connection |
GetIPAddress | Fetches the IP address of the current session |
Event | Description |
Click | Triggers when a control is clicked with the mouse; also triggers when the user selects a value in a multi-value control such as the list box |
DblClick | Triggers when a control is double-clicked |
KeyDown | Triggers when a user presses a control, navigation, or function key |
KeyUp | Triggers when a user releases a control, navigation, or function key |
KeyPress | Triggers when a key is either pressed by the user or sent from the SendKeys function |
<OBJECT ID="RasDial1" WIDTH=32 HEIGHT=32 CLASSID="CLSID:ED29373B-Df14-11CF-B0B6-0000f63A6615"> <PARAM NAME="_Version" VALUE="65536"> <PARAM NAME="_ExtentX" VALUE="677"> <PARAM NAME="_ExtentY" VALUE="677"> <PARAM NAME="_StockProps" VALUE="0"> </OBJECT>