InetCtlsObjects, COM interface constants for VB.Net / VBScript

InetCtlsObjects - interface constants

     This page contains simple VBA include for the InetCtlsObjects COM library.

library parameters

File NameWINDOWS\system32\MSINET.OCX
Guid{48E59290-9880-11CF-9754-00AA00C00908}
Enums5

StateConstants

enum, 13 members.
  'States
Public Enum StateConstants

  'No state
  icNone = 0  '&H0

  'Resolving address
  icResolvingHost = 1  '&H1

  'Address resolved
  icHostResolved = 2  '&H2

  'Connecting
  icConnecting = 3  '&H3

  'Connected
  icConnected = 4  '&H4

  'Issuing request
  icRequesting = 5  '&H5

  'Request completed
  icRequestSent = 6  '&H6

  'Receiving response
  icReceivingResponse = 7  '&H7

  'Response received
  icResponseReceived = 8  '&H8

  'Disconnecting
  icDisconnecting = 9  '&H9

  'Disconnected
  icDisconnected = 10  '&HA

  'Error
  icError = 11  '&HB

  'Response completed
  icResponseCompleted = 12  '&HC
End Enum

AccessConstants

enum, 3 members.
  'Access Types
Public Enum AccessConstants

  'User defaults
  icUseDefault = 0  '&H0

  'No proxy
  icDirect = 1  '&H1

  'Use proxy named in Proxy property
  icNamedProxy = 2  '&H2
End Enum

ProtocolConstants

enum, 6 members.
  'Protocols
Public Enum ProtocolConstants

  'Uknown protocol
  icUnknown = 0  '&H0

  'Default protocol
  icDefault = 1  '&H1

  'FTP
  icFTP = 2  '&H2

  'Gopher
  icGopher = 3  '&H3

  'HTTP
  icHTTP = 4  '&H4

  'Secure HTTP
  icHTTPS = 5  '&H5
End Enum

DataTypeConstants

enum, 2 members.
  'Data Types for retrieved data
Public Enum DataTypeConstants

  'String
  icString = 0  '&H0

  'Byte Array
  icByteArray = 1  '&H1
End Enum

ErrorConstants

enum, 102 members.
  'Error Constants
Public Enum ErrorConstants

  'Out of memory
  icOutOfMemory = 7  '&H7

  'Type mismatch
  icTypeMismatch = 13  '&HD

  'Invalid property value
  icInvalidPropertyValue = 380  '&H17C

  'Unable to open internet handle
  icInetOpenFailed = 35750  '&H8BA6

  'Unable to open URL
  icUrlOpenFailed = 35751  '&H8BA7

  'URL is malformed
  icBadUrl = 35752  '&H8BA8

  'Protocol not supported for this method
  icProtMismatch = 35753  '&H8BA9

  'Unable to connect to remote host
  icConnectFailed = 35754  '&H8BAA

  'No remote computer is specified
  icNoRemoteHost = 35755  '&H8BAB

  'Unable to complete request
  icRequestFailed = 35756  '&H8BAC

  'You must execute an operation before retrieving data
  icNoExecute = 35757  '&H8BAD

  'Unable to retrieve data
  icBlewChunk = 35758  '&H8BAE

  'FTP command failed
  icFtpCommandFailed = 35759  '&H8BAF

  'Cannot coerce type
  icUnsupportedType = 35760  '&H8BB0

  'Request timed out
  icTimeout = 35761  '&H8BB1

  'Not a valid or supported command
  icUnsupportedCommand = 35762  '&H8BB2

  'Invalid operation argument
  icInvalidOperation = 35763  '&H8BB3

  'Still executing last request
  icExecuting = 35764  '&H8BB4

  'This call is not valid for an FTP connection
  icInvalidForFtp = 35765  '&H8BB5

  'Out of handles
  icOutOfHandles = 35767  '&H8BB7

  'Timeout
  icInetTimeout = 35768  '&H8BB8

  'Extended error
  icExtendedError = 35769  '&H8BB9

  'Internal error
  icIntervalError = 35770  '&H8BBA

  'Invalid URL
  icInvalidURL = 35771  '&H8BBB

  'Unrecognized scheme
  icUnrecognizedScheme = 35772  '&H8BBC

  'Name not resolved
  icNameNotResolved = 35773  '&H8BBD

  'Protocol not found
  icProtocolNotFound = 35774  '&H8BBE

  'Invalid option
  icInvalidOption = 35775  '&H8BBF

  'Bad option length
  icBadOptionLength = 35776  '&H8BC0

  'Option not settable
  icOptionNotSettable = 35777  '&H8BC1

  'Shutdown
  icShutDown = 35778  '&H8BC2

  'Incorrect user name
  icIncorrectUserName = 35779  '&H8BC3

  'Incorrect password
  icIncorrectPassword = 35780  '&H8BC4

  'Login failure
  icLoginFailure = 35781  '&H8BC5

  'Invalid operation
  icInetInvalidOperation = 35782  '&H8BC6

  'Operation cancelled
  icOperationCancelled = 35783  '&H8BC7

  'Incorrect handle type
  icIncorrectHandleType = 35784  '&H8BC8

  'Incorrect handle state
  icIncorrectHandleState = 35785  '&H8BC9

  'Not a proxy
  icNotProxyRequest = 35786  '&H8BCA

  'Registry value not found
  icRegistryValueNotFound = 35787  '&H8BCB

  'Bad registry parameter
  icBadRegistryParameter = 35788  '&H8BCC

  'No direct access
  icNoDirectAccess = 35789  '&H8BCD

  'No context
  icNoContext = 35790  '&H8BCE

  'No callback
  icNoCallback = 35791  '&H8BCF

  'Request pending
  icRequestPending = 35792  '&H8BD0

  'Incorrect format
  icIncorrectFormat = 35793  '&H8BD1

  'Item not found
  icItemNotFound = 35794  '&H8BD2

  'Cannot connect
  icCannotConnect = 35795  '&H8BD3

  'Connection aborted
  icConnectionAborted = 35796  '&H8BD4

  'Connection reset
  icConnectionReset = 35797  '&H8BD5

  'Force retry
  icForceRetry = 35798  '&H8BD6

  'Invalid proxy request
  icInvalidProxyRequest = 35799  '&H8BD7

  'Would block
  icWouldBlock = 35800  '&H8BD8

  'Handle exists
  icHandleExists = 35802  '&H8BDA

  'Security certificate date invalid
  icSecCertDateInvalid = 35803  '&H8BDB

  'Security certificate number invalid
  icSecCertCnInvalid = 35804  '&H8BDC

  'HTTP to HTTPS on redirect
  icHttpToHttpsOnRedir = 35805  '&H8BDD

  'HTTPS to HTTP on redirect
  icHttpsToHttpOnRedir = 35806  '&H8BDE

  'Mixed security
  icMixedSecurity = 35807  '&H8BDF

  'Change post is non-secure
  icChgPostIsNonSecure = 35808  '&H8BE0

  'Post is non-secure
  icPostIsNonSecure = 35809  '&H8BE1

  'Client authorization certificate needed
  icClientAuthCertNeeded = 35810  '&H8BE2

  'Invalid client authorization
  icInvalidCa = 35811  '&H8BE3

  'Client authorization not setup
  icClientAuthNotSetup = 35812  '&H8BE4

  'Async thread failed
  icAsyncThreadFailed = 35813  '&H8BE5

  'Redirect scheme change
  icRedirectSchemeChange = 35814  '&H8BE6

  'Dialog pending
  icDialogPending = 35815  '&H8BE7

  'Retry dialog
  icRetryDialog = 35816  '&H8BE8

  'HTTPS HTTP submit redir
  icHttpsHttpSubmitRedir = 35818  '&H8BEA

  'Insert CD-ROM
  icInsertCdrom = 35819  '&H8BEB

  'FTP - Transfer in progress
  icFtpTransferInProgress = 35876  '&H8C24

  'FTP - Connection dropped
  icFtpDropped = 35877  '&H8C25

  'FTP - no passive mode
  icFtpNoPassiveMode = 35878  '&H8C26

  'Gopher - Protocol error
  icGopherProtocolError = 35896  '&H8C38

  'Gopher - Not a file
  icGopherNotFile = 35897  '&H8C39

  'Gopher -  Data error
  icGopherDataError = 35898  '&H8C3A

  'Gopher - End of data
  icGopherEndOfData = 35899  '&H8C3B

  'Gopher - Invalid locator
  icGopherInvalidLocator = 35900  '&H8C3C

  'Gopher - Incorrect locator type
  icGopherIncorrectLocatorType = 35901  '&H8C3D

  'Gopher - Not Gopher Plus
  icGopherNotGopherPlus = 35902  '&H8C3E

  'Gopher - Attribute not found
  icGopherAttributeNotFound = 35903  '&H8C3F

  'Gopher - Unknown locator
  icGopherUnknownLocator = 35904  '&H8C40

  'HTTP - Header not found
  icHttpHeaderNotFound = 35916  '&H8C4C

  'HTTP - Downlevel server
  icHttpDownlevelServer = 35917  '&H8C4D

  'HTTP - Invalid server response
  icHttpInvalidServerResponse = 35918  '&H8C4E

  'HTTP - Invalid Header
  icHttpInvalidHeader = 35919  '&H8C4F

  'HTTP - Invalid query request
  icHttpInvalidQueryRequest = 35920  '&H8C50

  'HTTP - Header already exists
  icHttpHeaderAlreadyExists = 35921  '&H8C51

  'HTTP - Redirect failed
  icHttpRedirectFailed = 35922  '&H8C52

  'HTTP - cookie needs confirmation
  icHttpCookieNeedsConfirmation = 35927  '&H8C57

  'HTTP - cookie declined
  icHttpCookieDeclined = 35928  '&H8C58

  'HTTP - redirect needs confirmation
  icHttpRedirectNeedsConfirmation = 35934  '&H8C5E

  'Security channel error
  icSecurityChannelError = 35923  '&H8C53

  'Unable to cache file
  icUnableToCacheFile = 35924  '&H8C54

  'Disconnected
  icInternetDisconnected = 35929  '&H8C59

  'Server unreachable
  icServerUnreachable = 35930  '&H8C5A

  'Proxy server unreachable
  icProxyServerUnreachable = 35931  '&H8C5B

  'Bad auto proxy script
  icBadAutoProxyScript = 35932  '&H8C5C

  'Unable to download script
  icUnableToDownloadScript = 35933  '&H8C5D

  'Invalid cert
  icSecInvalidCert = 35935  '&H8C5F

  'Cert revoked
  icSecCertRevoked = 35936  '&H8C60

  'Failed due to security check
  icFailedDueToSecurityCheck = 35937  '&H8C61
End Enum
WUtils.com