ActiveX: SLInetInfo (Filename: SLININFO.OCX)
![]()
| SLInetInfo is an ActiveX control that returns technical Internet-related information about the local computer and remote computers connected to the Internet or intranet. |
Properties
| Name | Type | Description |
| InternetAccessAllowed | Boolean | Determines if properties and
methods that need access to the Internet can be used in this control. If
this property has the value False then LocalHostName, LocalIPAddress
and GetRemoteIPAddress can not be used. If
this property has the value True, they can. |
| InternetConnectionType | Long | Returns type of current Internet
connection. Returns one of the following values: 0 - Can't determine 1 - Modem 2 - LAN 4 - Proxy |
| IsInternetConnection | Long | Checks if we are connected to
the Internet. Returns one of the
following values: 0 - We are not connected 1 - We are connected 2 - Can't load WININET.DLL 3 - Can't determine |
| LocalHostName | String | Returns local host name. This
property will only return a value if
InternetAccessAllowed is True. |
| LocalIPAddress | String | Returns IP address for the local
computer. This property will only return a value if
InternetAccessAllowed is True. |
| OEActivePOP3Server | String | Returns the name of the standard
POP3 server in Outlook Express. |
| OEActiveSMTPDisplayName | String | Returns the name of the mail
sender used in Outlook Express. The
standard mail
account is read. |
| OEActiveSMTPEmailAddress | String | Returns the e-mail address of the
mail sender used in Outlook Express. The standard mail account is
read. |
| OEActiveSMTPReplyAddress | String | Returns the reply mail address of
the mail sender used in Outlook Express. The standard mail account is
read. |
| OEActiveSMTPServer | String | Returns the name of the standard
SMTP server in Outlook Express. |
| OEIsDefaultMailClient | Boolean | Returns True if Outlook Express
is the standard mail client in the system. If not, False is
returned. |
| PathToDefaultMailClient | String | Returns the file path to the
standard mail client in the system. |
Methods
GetIEVersionNumber (VerMajor As Long, VerMinor As Long, BuildNr As Long) As Boolean Returns the version number of the installed Internet Explorer. The version number is returned via the VerMajor, VerMinor and BuildNr parameters. If an error occurrs the method returns False, otherwise True. GetRemoteIPAddress
(DomainName As String) As String
GetLastError () As Long |
![]()