WebClassLibrary, COM interface constants for VB.Net / VBScript

WebClassLibrary - interface constants

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

library parameters

File NameProgram Files\Common Files\designer\MSWCRUN.DLL
Guid{198887E2-AC76-11D0-A77C-00A024A55AB0}
Enums7

StateManagement

enum, 2 members.
  'WebClass state management types
Public Enum StateManagement

  'WebClass is created and destroyed for every HTTP request
  wcNoState = 1  '&H1

  'WebClass is maintained across HTTP requests until session times out, session is abandoned or ReleaseInstance is called
  wcRetainInstance = 2  '&H2
End Enum

WebClassRequestTypes

enum, 2 members.
Public Enum WebClassRequestTypes
  Normal = 0  '&H0
  Restore = 1  '&H1
End Enum

WebClassEventTypes

enum, 2 members.
Public Enum WebClassEventTypes
  wcCustom = 1  '&H1
  wcBound = 2  '&H2
End Enum

HTMLTagType

enum, 21 members.
Public Enum HTMLTagType
  tagA = 0  '&H0
  tagFORM = 1  '&H1
  tagIMG = 2  '&H2
  tagAREA = 3  '&H3
  tagBGSOUND = 4  '&H4
  tagFRAME = 5  '&H5
  tagIFRAME = 6  '&H6
  tagSCRIPT = 7  '&H7
  tagMETA = 8  '&H8
  tagEMBED = 9  '&H9
  tagLINK = 10  '&HA
  tagOBJECT = 11  '&HB
  tagAPPLET = 12  '&HC
  tagSTYLE = 13  '&HD
  tagBODY = 14  '&HE
  tagLAYER = 15  '&HF
  tagTABLE = 16  '&H10
  tagTH = 17  '&H11
  tagTD = 18  '&H12
  tagISINDEX = 19  '&H13
  tagINPUT = 20  '&H14
End Enum

WebClassAttribState

enum, 3 members.
Public Enum WebClassAttribState
  wcUnbound = 1  '&H1
  wcBoundToItem = 2  '&H2
  wcBoundToEvent = 3  '&H3
End Enum

TemplateLoadState

enum, 4 members.
Public Enum TemplateLoadState
  wcUnloaded = 1  '&H1
  wcLoading = 2  '&H2
  wcLoaded = 3  '&H3
  wcLoadError = 4  '&H4
End Enum

ErrorConstants

enum, 16 members.
  'Runtime error constants
Public Enum ErrorConstants

  'An internal exception has occurred
  wcrErrException = 9000  '&H2328

  'TagPrefix must begin with an alphabetic or numeric character
  wcrErrInvalidTokenStartChar = 9001  '&H2329

  'Specified TagPrefix value is too large
  wcrErrPrefixStringTooLarge = 9002  '&H232A

  'Access to template, %1, denied
  wcrErrAccessDeniedHtmlTemplate = 9003  '&H232B

  'WebClass runtime component is not installed correctly
  wcrErrWebClassRuntimeNotInstalledCorrectly = 9004  '&H232C

  'Active Server Pages BrowserType object is not installed correctly
  wcrErrASPBrowserTypeNotInstalledCorrectly = 9005  '&H232D

  'Invalid path to HTML template, %1
  wcrErrInvalidHtmlPath = 9006  '&H232E

  'Cannot read HTML template
  wcrErrCannotReadHtml = 9007  '&H232F

  'URL contains invalid WebItem
  wcrErrInvalidWebItemInUrl = 9008  '&H2330

  'Corresponding close tag, , not found in %2
  wcrErrDanglingXmlTag = 9010  '&H2332

  'Specified object is not a WebItem of this WebClass
  wcrErrNotInternalWebitem = 9012  '&H2334

  'Cannot set NextItem to the current WebItem from its Respond event
  wcrErrNextCannotEqualCurrent = 9013  '&H2335

  'Property is read-only at runtime
  wcrErrReadonlyAtRuntime = 9014  '&H2336

  'Cannot identify version of Internet Information Server or Peer Web Services
  wcrErrCannotIndentifyIISVersion = 9015  '&H2337

  'NextItem cannot be set from within this event
  wcrErrCannotSetNextItemNow = 9016  '&H2338
  wcrErrSystemError = 9017  '&H2339
End Enum
WUtils.com