C# Class csExWB.cEXWB

Inheritance: System.Windows.Forms.Control, IOleClientSite, IOleInPlaceSite, IDocHostShowUI, IDocHostUIHandler, DWebBrowserEvents2, IfacesEnumsStructsClasses.IDropTarget, IfacesEnumsStructsClasses.IServiceProvider, IHttpSecurity, IWindowForBindingUI, INewWindowManager, IAuthenticate, IOleCommandTarget, IInternetSecurityManager, IHTMLEventCallBack, IProtectFocus, IHTMLOMWindowServices
Datei anzeigen Open project: mcorrientes/Web-Security-Toolset Class Usage Examples

Private Properties

Property Type Description
AddThisIEServerHwndToComLib void
DISPATCH_WindowClosing void
DWebBrowserEvents2 void
DWebBrowserEvents2 void
DWebBrowserEvents2 void
DWebBrowserEvents2 void
DWebBrowserEvents2 void
DWebBrowserEvents2 void
DWebBrowserEvents2 void
DWebBrowserEvents2 void
DWebBrowserEvents2 void
DWebBrowserEvents2 void
DWebBrowserEvents2 void
DWebBrowserEvents2 void
DWebBrowserEvents2 void
ExecWB void
GetElementByName bool
GetFrames List
GetHistorySession bool
HresultAsString string
IAuthenticate int
IDocHostShowUI int
IDocHostShowUI int
IDocHostUIHandler int
IDocHostUIHandler int
IDocHostUIHandler int
IDocHostUIHandler int
IDocHostUIHandler int
IDocHostUIHandler int
IDocHostUIHandler int
IDocHostUIHandler int
IDocHostUIHandler int
IDocHostUIHandler int
IDocHostUIHandler int
IDocHostUIHandler int
IHTMLChangeSink int
IHTMLEditHost int
IHttpSecurity int
IHttpSecurity int
IInternetSecurityManager int
IInternetSecurityManager int
IInternetSecurityManager int
IInternetSecurityManager int
IInternetSecurityManager int
IInternetSecurityManager int
IInternetSecurityManager int
INewWindowManager int
IOleClientSite int
IOleClientSite int
IOleClientSite int
IOleClientSite int
IOleCommandTarget int
IOleCommandTarget int
IOleInPlaceSite int
IOleInPlaceSite int
IOleInPlaceSite int
IOleInPlaceSite int
IOleInPlaceSite int
IOleInPlaceSite int
IWindowForBindingUI int
Idispatch_AmbiantDlControl_Invoke_Handler int
IfacesEnumsStructsClasses int
IfacesEnumsStructsClasses int
IfacesEnumsStructsClasses int
IfacesEnumsStructsClasses int
InitCOMLibrary void
InternalCreateWB void
InternalFreeWB void
IsWBFrameset bool
IsWBFrameset bool
MakeRGB int
PerformAutomationTask bool
RemCOMLibrary void
RemoveDocumentChangeNotification void
RemoveIUtilManEvents void
SecondaryOnLoadEvent void
SecondaryOnUnloadEvent void
SetFocusBody void
SetLocation void
SetupDocumentChangeNotification bool
ShellUIHelperMiscCommands int
ShowMiscCommands int
StartApp void
SynchDOCDOWNLOADCTLFLAG void
SynchDOCHOSTUIFLAG void
TopLevelOnLoadEvent void
TopLevelOnUnloadEvent void
WBFramesCount int
WBIEServerHandle IntPtr
WBOleCommandExec int
WBOleCommandExec int
WBShellDocObjHandle IntPtr
WBShellEmbedingHandle IntPtr

Public Methods

Method Description
AddToFavorites ( ) : void
AddTravelLogEntry ( string url, string title ) : ITravelLogEntry
AddUrlToTrustedZone ( string url ) : int

Adds a given url to the Internet explorer trusted zone

AutomationTask_NamedLinkScrollIntoView ( string nameorid ) : bool

Attempts to scroll into view a link given it's name or id

AutomationTask_PerformAuthentication ( string txtUserNameOrId, string txtPasswordNameOrId, string strUserName, string strPassword, bool bForceNewValue, bool bAutoSubmit ) : bool

Attempts to find two input fields given their name or id and fill them with given values This method accounts for frames and iframes, searchs all of them If bForceNewValue is true and the inputs already have a value then their values will be replaced with the given strings If bAutoSubmit is true the parent form is located and it's submit method is called

AutomationTask_PerformClickButton ( string btnnameorid ) : bool

Performs a click on a Button element with given name

AutomationTask_PerformClickLink ( string linknameorid ) : bool
AutomationTask_PerformEnterData ( string inputnameorid, string strValue ) : bool
AutomationTask_PerformEnterDataTextArea ( string inputnameorid, string strValue ) : bool
AutomationTask_PerformMultiSelectListItems ( List selects ) : void

Attempts to select all the items within a given select list

AutomationTask_PerformSelectList ( string selectnameorid, string listitemvalueortext ) : bool

Attempts to select an item from a selection list based on the item value or text

AutomationTask_PerformSelectRadio ( string radionameorid ) : bool
AutomationTask_PerformSelectRadio2 ( string radionameorid, string value ) : bool

Selects a radio/check based on name or id and value - Jake

AutomationTask_PerformSubmitForm ( string formnameorid ) : bool
AutomationTask_SimulateKeyStroke ( Keys keycode ) : void

Simulates a keystroke. The targetelement must have focus

Clear ( ) : bool
ClearHistory ( ) : bool

Attempts to clear browsing history

ClearSelection ( ) : bool
ClearSessionCookies ( ) : bool

Clears session cookies

ClickActiveElement ( ) : void

Calls click method of active element

Copy ( ) : bool
CreateInternetShortCut ( string LocalFileName, string URL, string Description, string IconFileName, int IconIndex ) : bool

Attempts to create an internet short cut givena filename and url

Cut ( ) : bool
DWebBrowserEvents2 ( bool FullScreen ) : void
Delete ( ) : bool
DisableScriptDebugger ( ) : string

Attempts to set Disable Script Debugger registry keyname to yes to enable our control to receive script errors. Default value of this key in IE6 is yes and in IE7 is no?

DownloadFile ( string Url ) : int

Attempts to download a file asynch. FileDownloadExxxx events are used for notifications.

ElementFromPoint ( bool bTopLevel, int X, int Y ) : IHTMLElement

Wrapper for IHTMLDocument2.elementFromPoint method Attempts to retreive an HTML element from given x and y coordinates relative to the main document or if frameset relative to the active document

ElementFromPoint ( int clientx, int clienty ) : IHTMLElement

Wrapper for IHTMLDocument2.elementFromPoint method Attempts to retreive an HTML element from given x and y coordinates, accounts for FRAMES and IFRAMES

ElementToPoint ( IHTMLElement elem ) : Point

Attempts to return absolute position of a given html element

ExecCommand ( bool bTopLevel, string CmdId, bool showUI, object CmdValue ) : bool
Find ( ) : bool
FindAndHightAllInPage ( string sFind, bool MatchWholeWord, bool MatchCase, Color cbackColor, Color cForeColor ) : int
FindAndHightAllInPage ( string sFind, bool MatchWholeWord, bool MatchCase, int cbackColor, int cForeColor ) : int
FindAndHightAllInPage ( string sFind, bool MatchWholeWord, bool MatchCase, string cbackColor, string cForeColor ) : int
FindInPage ( string sFind, bool DownWard, bool MatchWholeWord, bool MatchCase, bool ScrollIntoView ) : bool
FindInPageSimple ( IHTMLDocument2 pDoc2, string sFind, bool DownWard, bool MatchWholeWord, bool MatchCase ) : bool

Searches a given document for a match Does not continue from where a match was found Use FindInPage method instead

FramesCount ( ) : int

Returns number of FRAMES in a FRAMESET document

GetActiveDocument ( ) : IHTMLDocument2

Attempts to return active IHTMLDocument2 interface instance

GetActiveDocument3 ( ) : IHTMLDocument3

Attempts to return active IHTMLDocument3 interface instance

GetActiveDocument4 ( ) : IHTMLDocument4

Attempts to return active IHTMLDocument4 interface instance

GetActiveElement ( ) : IHTMLElement

Attempts to return active IHTMLElement interface instance Accounts for Frames and Iframes

GetActiveWebBrowser2 ( ) : IWebBrowser2

Attempts to return active IWebbrowser2 interface instance

GetActiveWindow2 ( ) : IHTMLWindow2

Attempts to return active IHTMLWindow2 interface instance

GetAllLinks ( ) : List

Attempts to collect and return a collection of A elements from the document. Accounts for frames.

GetAllowHTMLDialogs ( ) : bool
GetAnchors ( bool bTopLevel ) : IHTMLElementCollection

Attempts to return a collection of A elements

GetDesignMode ( ) : string

Returns the value of IHTMLDocument2.designMode

GetDocumentScriptObjects ( ) : string

Experimental, do not use!

GetElementByID ( bool bTopLevel, string idval ) : IHTMLElement

Wrapper for IHTMLDocument3.getElementById method

GetElementsByName ( bool bTopLevel, string elemname ) : IHTMLElementCollection

Wrapper for IHTMLDocument3.getElementsByName method

GetElementsByNameOrId ( string NameOrId ) : List

Attempts to return a List of IHTMLElements with the given Name or Id If document is frameset then all frames are searched

GetElementsByTagName ( bool bTopLevel, String tagname ) : IHTMLElementCollection

Wrapper for IHTMLDocument3.getElementsByTagName method

GetFrames ( ) : List

Returns a list of IWebBrowser2 instances. Each IWebBrowser2 instance represents a FRAME

GetImages ( bool bTopLevel ) : IHTMLElementCollection

Attempts to return a collection of images

GetOpticalZoomRange ( ) : int[]

Attempts to retreive optical zoom range. Example: int[] range = m_CurWB.GetOpticalZoomRange(); AllForms.m_frmLog.AppendToLog( "Min==>" + range[0].ToString() + "\r\nMax==>" + range[1].ToString());

GetSelectedText ( bool bTopLevel, bool ReturnAsHTML ) : string

Attempts to retreive selected text

GetSource ( IWebBrowser2 thisBrowser ) : string
GetSource ( bool bTopLevel ) : string
GetText ( IWebBrowser2 thisBrowser ) : string
GetText ( bool bTopLevel ) : string
GetTitle ( IWebBrowser2 thisBrowser ) : string
GetTitle ( bool bTopLevel ) : string
GetTraveLogEntries ( ) : List

Returns a list of all visited urls

GetTravelLogCount ( ) : int
GetTravelLogEntries ( TravelLogEntries flags ) : List
GoBack ( ) : bool
GoForward ( ) : bool
GoHome ( ) : void
GoSearch ( ) : void
HasFocus ( ) : bool
ICustomProtocolSink ( byte data, string Url, string mimeType, object sink ) : void
ICustomProtocolSink ( int Inet_Error_Code, object sink ) : void
IEOptions ( ) : bool
IEVersion ( ) : string

Attempts to find IE version by searching IOmNavigator.userAgnet

IHTMLOMWindowServices ( int x, int y ) : void
IManagedProtocolSink ( byte data, string Url, string mimeType, object sink ) : void

Called from DownloadCompleted method of DownloadRequestEventArgs event argument passed to client via ProtocolHandlerOnStart event

IManagedProtocolSink ( int Inet_Error_Code, object sink ) : void

Called from CancelDownloadRequest method of DownloadRequestEventArgs event argument passed to client via ProtocolHandlerOnStart event

IManagedProtocolSink ( string Url, string mimeType, object sink, string CacheFileName ) : void
IProtectFocus ( bool &pfAllow ) : void
ImportExport ( ) : void
InvokeScript ( IWebBrowser2 wb, string ScriptName, object Data ) : object
InvokeScript ( string ScriptName, object Data ) : object

Invokes a script within the HTML page

IsCommandEnabled ( string sCmdId ) : bool

Attempts to determine if commands such as "Cut", "Copy", "Paste", etc are enabled

IsFrameset ( ) : bool

Determines if the current document is a FRAMESET

LanguageDialog ( ) : void
LoadHtmlIntoBrowser ( string html ) : bool
LoadHtmlIntoBrowser ( string html, IWebBrowser2 wb ) : bool
LoadHtmlIntoBrowser ( string html, string sBaseUrl ) : bool
LoadUrlIntoBrowser ( String url ) : bool
NavToBlank ( ) : void
Navigate ( string URL ) : void
Navigate ( string URL, BrowserNavConstants Flags ) : void
Navigate ( string URL, BrowserNavConstants Flags, string PostData ) : void
Navigate ( string URL, BrowserNavConstants Flags, string TargetFrameName, string PostData ) : void
Navigate ( string URL, byte PostData ) : void
Navigate ( string URL, int BrowserNavConstants_Flags ) : void

Navigates to a given url using a combination of BrowserNavConsts

Navigate ( string URL, string PostData ) : void
Navigate2 ( string URL ) : void
NewWindow ( ) : bool
OleCommandExec ( bool bTopLevel, MSHTML_COMMAND_IDS CmdID ) : bool
OleCommandExec ( bool bTopLevel, MSHTML_COMMAND_IDS CmdID, object pvaIn ) : bool
OrganizeFavorites ( ) : void
PageSetup ( ) : bool
Paste ( ) : bool
PasteSpecial ( ) : bool
PreProcessMessage ( Message &msg ) : bool
Print ( ) : bool
Print2 ( ) : bool
PrintDocument ( ) : void

Alternative to Print method

PrintPreview ( ) : bool
PrintPreview2 ( ) : bool
PrintPreviewDoc ( ) : void

Alternative to PrintPreview method

PrivacySettings ( ) : void
ProgramAccessAndDefaults ( ) : void
Properties ( ) : bool
QueryCommandState ( bool bTopLevel, string CmdId ) : bool
QueryCommandValue ( string CmdID ) : object
Redo ( ) : bool
Refresh ( ) : void
Refresh2 ( RefreshConstants Level ) : void
RemoveAllTravelLogEntries ( ) : bool

Removes all travel log entries for this webbrowser instance

RemoveTravelLogEntries ( string url ) : bool

Removes all entries matching given url The current entry cannot be deleted.

RemoveTravelLogEntry ( int index ) : bool

Removes one entry based on index Can not delete current entry

RemoveTravelLogEntry ( string url, string title ) : bool

Removes first entry matching given url and title

ResolveInternetShortCut ( string InternetShortCutPath ) : string

Attempts to retrieve url of a given internet shortcut

SaveAs ( ) : void

Displays the Save page dialog.

SelectAll ( ) : bool
SendLinkByEmail ( ) : void
SendPageByEmail ( ) : void
SendShortcutToDesktop ( ) : void
SetAllowHTMLDialogs ( bool bAllow ) : void

Call this only once, as other calls are ignored by library. Allow or disallow HTML dialogs launched using showModelessDialog() and showModalDialog() methods using CBT Window Hook.

SetDesignMode ( string sMode ) : bool

Attempts to set the IHTMLDocument2.designMode to given sMode parameter

SetFocus ( ) : void
SetOpticalZoomValue ( int zoomvalue ) : int

Attempts to set the optical zoom value. Example: m_CurWB.SetOpticalZoomValue(300);

ShowCertificateDialog ( ) : void

If available, attempts to display security certifocate for the current site

Spell ( ) : bool
StartCustomProtocol ( string customprotocol ) : void

Setsup activation of a custom protocol handler This method needs to be called whether the protocol was activated previously or not as the IE server hwnd must be set so the COM library is able to notify the corresponding cEXWB instance to notify the client n turn.

Stop ( ) : void
StopCustomProtocol ( string customprotocol ) : void
StopFileDownload ( int dlUID ) : void

Stops a file download

TravelLogTravelTo ( int index ) : bool

Navigates to an entry and changes the current position in the travel log to that entry

Undo ( ) : bool
UnicodeToHTMLEncoding ( string html ) : string

Attempts to convert UNICODE chars to their numeric values to be used with LoadHtmlIntoBrowser methods. sample "حقوق الطبع"

UserAgnet ( ) : string

Attempts to retreive UserAgent from IHTMLWindow2.navigator object

ViewSource ( ) : bool
cEXWB ( ) : System
dl_FileDownloadEx ( int dlUID, string sURL, string sFilename, string sExt, string sFileSize, string sExtraHeaders, string sRedirURL, bool &SendProgressEvents, bool &bStopDownload, string &sPathToSave ) : void
dl_OnFileDLDownloadError ( int dlUID, string sURL, string sErrorMsg ) : void
dl_OnFileDLEndDownload ( int dlUID, string sURL, string sSavedFilePath ) : void
execScript ( bool bTopLevel, string ScriptName, string ScriptLanguage ) : object

Wrapper for IHTMLWindow2.execScript method m_CurWB.execScript(true, "javascript:__doPostBack('NY,412800013,09/15/2007,10010,18,C,165,0','false')", "JavaScript");

m_DownloadManager_OnFileDLAuthenticate ( int dlUID, string &sUsername, string &sPassword, bool &Cancel ) : void
m_DownloadManager_OnFileDLProgress ( int dlUID, string sURL, int lProgress, int lProgressMax, bool &CancelDl ) : void
m_csexwbCOMLib_ManagedAppBeginningTransaction ( string sURL, string sRequestHeaders, string &sAdditionalHeaders, bool &Cancel ) : void
m_csexwbCOMLib_ManagedAppDataFullyAvailable ( string sURL ) : void
m_csexwbCOMLib_ManagedAppDataFullyRead ( string sURL ) : void
m_csexwbCOMLib_ManagedAppOnResponse ( string sURL, string sResponseHeaders, string sRedirectedUrl, string sRedirectHeaders, bool &Cancel ) : void
m_csexwbCOMLib_ManagedAppOperationFailed ( string sURL ) : void
m_csexwbCOMLib_OnFileDLFileFullyWritten ( int dlUID, string sURL, string sSavedFilePath ) : void
m_csexwbCOMLib_OnStartCustManagedApp ( string URL, object pDispCustManagedApp ) : void
m_csexwbCOMLib_OnStartManagedAPP ( string URL, string RequestHeaders, string PostData, string PostDataMime, object pDispManagedAppBrigde, bool bNeedFileName, string &sLocalFileName, bool &bClientHandled, bool bAsynchDownload, bool &bCancelDownload ) : void

Fired by an instance of IManagedAppBridge to notify this control of start method being called. bClientHandled = true (default)

Protected Methods

Method Description
Dispose ( bool disposing ) : void
OnGotFocus ( EventArgs e ) : void
OnHandleCreated ( EventArgs e ) : void
OnResize ( EventArgs e ) : void
WndProc ( Message &m ) : void

Private Methods

Method Description
AddThisIEServerHwndToComLib ( ) : void
DISPATCH_WindowClosing ( bool IsChildWindow, bool &Cancel ) : void
DWebBrowserEvents2 ( ) : void
DWebBrowserEvents2 ( bool ActiveDocument, bool &Cancel ) : void
DWebBrowserEvents2 ( int SecureLockIcon ) : void
DWebBrowserEvents2 ( int Command, bool Enable ) : void
DWebBrowserEvents2 ( int &CX, int &CY ) : void
DWebBrowserEvents2 ( object pDisp ) : void
DWebBrowserEvents2 ( object &ppDisp, bool &Cancel ) : void
DWebBrowserEvents2 ( object &ppDisp, bool &Cancel, uint dwFlags, string bstrUrlContext, string bstrUrl ) : void
DWebBrowserEvents2 ( object pDisp, object &URL ) : void
DWebBrowserEvents2 ( object pDisp, object &nPage, object &fDone ) : void
DWebBrowserEvents2 ( object pDisp, object &URL, object &Frame, object &StatusCode, bool &Cancel ) : void
DWebBrowserEvents2 ( object pDisp, object &URL, object &Flags, object &TargetFrameName, object &PostData, object &Headers, bool &Cancel ) : void
DWebBrowserEvents2 ( string szProperty ) : void
ExecWB ( OLECMDID command ) : void
GetElementByName ( AutomationTasks task, string elemname, string data ) : bool
GetFrames ( IWebBrowser2 pWB ) : List
GetHistorySession ( ) : bool
HresultAsString ( int iHRESULT ) : string
IAuthenticate ( IntPtr &phwnd, IntPtr &pszUsername, IntPtr &pszPassword ) : int
IDocHostShowUI ( IntPtr hwnd, string lpstrText, string lpstrCaption, uint dwType, string lpstrHelpFile, uint dwHelpContext, int &lpResult ) : int
IDocHostShowUI ( IntPtr hwnd, string pszHelpFile, uint uCommand, uint dwData, tagPOINT ptMouse, object pDispatchObjectHit ) : int
IDocHostUIHandler ( ) : int
IDocHostUIHandler ( DOCHOSTUIINFO &info ) : int
IDocHostUIHandler ( IfacesEnumsStructsClasses pDropTarget, IfacesEnumsStructsClasses &ppDropTarget ) : int
IDocHostUIHandler ( System pDO, System &ppDORet ) : int
IDocHostUIHandler ( bool fEnable ) : int
IDocHostUIHandler ( int dwID, IOleInPlaceActiveObject activeObject, IOleCommandTarget commandTarget, IOleInPlaceFrame frame, IOleInPlaceUIWindow doc ) : int
IDocHostUIHandler ( object &ppDispatch ) : int
IDocHostUIHandler ( string &pbstrKey, uint dw ) : int
IDocHostUIHandler ( tagMSG &msg, System.Guid &group, uint nCmdID ) : int
IDocHostUIHandler ( tagRECT &rect, IOleInPlaceUIWindow doc, bool fFrameWindow ) : int
IDocHostUIHandler ( uint dwTranslate, string strURLIn, string &pstrURLOut ) : int
IDocHostUIHandler ( uint dwID, tagPOINT &pt, object pcmdtReserved, object pdispReserved ) : int
IHTMLChangeSink ( ) : int
IHTMLEditHost ( IHTMLElement pIElement, tagRECT &prcNew, int eHandle ) : int
IHttpSecurity ( System.Guid &rguidReason, IntPtr &phwnd ) : int
IHttpSecurity ( uint dwProblem ) : int
IInternetSecurityManager ( IntPtr pSite ) : int
IInternetSecurityManager ( string pwszUrl, System.Guid &guidKey, IntPtr &ppPolicy, uint &pcbPolicy, IntPtr pContext, uint cbContext, uint dwReserved ) : int
IInternetSecurityManager ( string pwszUrl, IntPtr pbSecurityId, uint &pcbSecurityId, uint &dwReserved ) : int
IInternetSecurityManager ( string pwszUrl, uint dwAction, IntPtr pPolicy, uint cbPolicy, IntPtr pContext, uint cbContext, uint dwFlags, uint dwReserved ) : int
IInternetSecurityManager ( string pwszUrl, uint &pdwZone, uint dwFlags ) : int
IInternetSecurityManager ( uint dwZone, IEnumString &ppenumString, uint dwFlags ) : int
IInternetSecurityManager ( uint dwZone, string lpszPattern, uint dwFlags ) : int
INewWindowManager ( string pszUrl, string pszName, string pszUrlContext, string pszFeatures, bool fReplace, uint dwFlags, uint dwUserActionTime ) : int
IOleClientSite ( ) : int

Attempts to save a given url in a single file (MHT). Local cached copies of the resource are used, if available. Need to add reference to "Microsoft CDO for Windows 2000 Library" COM library. Use the UserName and Password parameters when you are requesting Web pages using HTTP from a server that requires client authentication. If the Web server supports only the basic authentication mechanism, these credentials must be supplied. If the Web server supports the NTLM authentication mechanism, by default, the current process security context is used to authenticate; however, you can specify alternate credentials for NTLM authentication with the UserName and Password parameters. cEXWB1.Navigate("http://www.yahoo.com"); cEXWB1.SavePageAsMHT(cEXWB1.LocationUrl, "C:\\yahoo.mht", "", "");

IOleClientSite ( IOleContainer &ppContainer ) : int
IOleClientSite ( bool fShow ) : int
IOleClientSite ( uint dwAssign, uint dwWhichMoniker, IMoniker &ppmk ) : int
IOleCommandTarget ( IntPtr pguidCmdGroup, uint cCmds, tagOLECMD &prgCmds, IntPtr pCmdText ) : int
IOleCommandTarget ( IntPtr pguidCmdGroup, uint nCmdID, uint nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut ) : int
IOleInPlaceSite ( ) : int
IOleInPlaceSite ( IOleInPlaceFrame &ppFrame, IOleInPlaceUIWindow &ppDoc, tagRECT &lprcPosRect, tagRECT &lprcClipRect, tagOIFI &lpFrameInfo ) : int
IOleInPlaceSite ( IntPtr &phwnd ) : int
IOleInPlaceSite ( bool fEnterMode ) : int
IOleInPlaceSite ( tagRECT &lprcPosRect ) : int
IOleInPlaceSite ( tagSIZE &scrollExtent ) : int
IWindowForBindingUI ( System.Guid &rguidReason, IntPtr &phwnd ) : int
Idispatch_AmbiantDlControl_Invoke_Handler ( ) : int
IfacesEnumsStructsClasses ( ) : int
IfacesEnumsStructsClasses ( Guid &guidService, Guid &riid, IntPtr &ppvObject ) : int
IfacesEnumsStructsClasses ( System pDataObj, uint grfKeyState, tagPOINT pt, uint &pdwEffect ) : int
IfacesEnumsStructsClasses ( uint grfKeyState, tagPOINT pt, uint &pdwEffect ) : int
InitCOMLibrary ( ) : void

Creates and initializes events for ComUtilitiesLib.UtilManClass instance Responsible for Asynchronous pluggable protocols and webbrowser file download replacement

InternalCreateWB ( ) : void

Create Webbrowser control and set up it's events called from OnHandleCreated Webbrowser control hosting requires an HWND

InternalFreeWB ( ) : void
IsWBFrameset ( IHTMLDocument2 doc2 ) : bool
IsWBFrameset ( IWebBrowser2 pWB ) : bool
MakeRGB ( Color cColor ) : int
PerformAutomationTask ( IHTMLElementCollection col, AutomationTasks task, string elemname, string data ) : bool
RemCOMLibrary ( ) : void
RemoveDocumentChangeNotification ( ) : void
RemoveIUtilManEvents ( ) : void
SecondaryOnLoadEvent ( object sender, EventArgs e ) : void
SecondaryOnUnloadEvent ( object sender, EventArgs e ) : void
SetFocusBody ( ) : void
SetLocation ( ) : void
SetupDocumentChangeNotification ( IHTMLDocument4 pDoc4 ) : bool
ShellUIHelperMiscCommands ( string scommand ) : int
ShowMiscCommands ( WB_MiscCommandTarget command ) : int
StartApp ( ) : void

Called from WBIEServerHandle method

SynchDOCDOWNLOADCTLFLAG ( DOCDOWNLOADCTLFLAG flag, bool add ) : void
SynchDOCHOSTUIFLAG ( DOCHOSTUIFLAG flag, bool add ) : void
TopLevelOnLoadEvent ( object sender, EventArgs e ) : void
TopLevelOnUnloadEvent ( object sender, EventArgs e ) : void
WBFramesCount ( IWebBrowser2 pWB ) : int
WBIEServerHandle ( ) : IntPtr
WBOleCommandExec ( OLECMDID command ) : int
WBOleCommandExec ( OLECMDID command, OLECMDEXECOPT cmdopt ) : int
WBShellDocObjHandle ( ) : IntPtr
WBShellEmbedingHandle ( ) : IntPtr

Method Details

AddToFavorites() public method

public AddToFavorites ( ) : void
return void

AddTravelLogEntry() public method

public AddTravelLogEntry ( string url, string title ) : ITravelLogEntry
url string
title string
return ITravelLogEntry

AddUrlToTrustedZone() public method

Adds a given url to the Internet explorer trusted zone
public AddUrlToTrustedZone ( string url ) : int
url string format: http://msdn.microsoft.com
return int

AutomationTask_NamedLinkScrollIntoView() public method

Attempts to scroll into view a link given it's name or id
public AutomationTask_NamedLinkScrollIntoView ( string nameorid ) : bool
nameorid string
return bool

AutomationTask_PerformAuthentication() public method

Attempts to find two input fields given their name or id and fill them with given values This method accounts for frames and iframes, searchs all of them If bForceNewValue is true and the inputs already have a value then their values will be replaced with the given strings If bAutoSubmit is true the parent form is located and it's submit method is called
public AutomationTask_PerformAuthentication ( string txtUserNameOrId, string txtPasswordNameOrId, string strUserName, string strPassword, bool bForceNewValue, bool bAutoSubmit ) : bool
txtUserNameOrId string Name or id of the username input
txtPasswordNameOrId string NAme or id of the password input
strUserName string Value to be entered into username input
strPassword string Value to be entered into password input
bForceNewValue bool Set to true to overwrite any previous values in the input fields
bAutoSubmit bool Set to true to have the parent form submit method called
return bool

AutomationTask_PerformClickButton() public method

Performs a click on a Button element with given name
public AutomationTask_PerformClickButton ( string btnnameorid ) : bool
btnnameorid string
return bool

AutomationTask_PerformClickLink() public method

public AutomationTask_PerformClickLink ( string linknameorid ) : bool
linknameorid string
return bool

AutomationTask_PerformEnterData() public method

public AutomationTask_PerformEnterData ( string inputnameorid, string strValue ) : bool
inputnameorid string
strValue string
return bool

AutomationTask_PerformEnterDataTextArea() public method

public AutomationTask_PerformEnterDataTextArea ( string inputnameorid, string strValue ) : bool
inputnameorid string
strValue string
return bool

AutomationTask_PerformMultiSelectListItems() public method

Attempts to select all the items within a given select list
public AutomationTask_PerformMultiSelectListItems ( List selects ) : void
selects List A List of MultiSelectHTMLList classes containning a list of /// items to select
return void

AutomationTask_PerformSelectList() public method

Attempts to select an item from a selection list based on the item value or text
public AutomationTask_PerformSelectList ( string selectnameorid, string listitemvalueortext ) : bool
selectnameorid string
listitemvalueortext string
return bool

AutomationTask_PerformSelectRadio() public method

public AutomationTask_PerformSelectRadio ( string radionameorid ) : bool
radionameorid string
return bool

AutomationTask_PerformSelectRadio2() public method

Selects a radio/check based on name or id and value - Jake
public AutomationTask_PerformSelectRadio2 ( string radionameorid, string value ) : bool
radionameorid string
value string value is the value parameter inside the html tag
return bool

AutomationTask_PerformSubmitForm() public method

public AutomationTask_PerformSubmitForm ( string formnameorid ) : bool
formnameorid string
return bool

AutomationTask_SimulateKeyStroke() public method

Simulates a keystroke. The targetelement must have focus
public AutomationTask_SimulateKeyStroke ( Keys keycode ) : void
keycode Keys One of Keys enum
return void

Clear() public method

public Clear ( ) : bool
return bool

ClearHistory() public method

Attempts to clear browsing history
public ClearHistory ( ) : bool
return bool

ClearSelection() public method

public ClearSelection ( ) : bool
return bool

ClearSessionCookies() public method

Clears session cookies
public ClearSessionCookies ( ) : bool
return bool

ClickActiveElement() public method

Calls click method of active element
public ClickActiveElement ( ) : void
return void

Copy() public method

public Copy ( ) : bool
return bool

CreateInternetShortCut() public method

Attempts to create an internet short cut givena filename and url
public CreateInternetShortCut ( string LocalFileName, string URL, string Description, string IconFileName, int IconIndex ) : bool
LocalFileName string
URL string
Description string
IconFileName string
IconIndex int
return bool

Cut() public method

public Cut ( ) : bool
return bool

DWebBrowserEvents2() public method

public DWebBrowserEvents2 ( bool FullScreen ) : void
FullScreen bool
return void

Delete() public method

public Delete ( ) : bool
return bool

DisableScriptDebugger() public method

Attempts to set Disable Script Debugger registry keyname to yes to enable our control to receive script errors. Default value of this key in IE6 is yes and in IE7 is no?
public DisableScriptDebugger ( ) : string
return string

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

DownloadFile() public method

Attempts to download a file asynch. FileDownloadExxxx events are used for notifications.
public DownloadFile ( string Url ) : int
Url string
return int

ElementFromPoint() public method

Wrapper for IHTMLDocument2.elementFromPoint method Attempts to retreive an HTML element from given x and y coordinates relative to the main document or if frameset relative to the active document
public ElementFromPoint ( bool bTopLevel, int X, int Y ) : IHTMLElement
bTopLevel bool True, use the toplevel IHTMLDocument2 instance
X int
Y int
return IHTMLElement

ElementFromPoint() public method

Wrapper for IHTMLDocument2.elementFromPoint method Attempts to retreive an HTML element from given x and y coordinates, accounts for FRAMES and IFRAMES
public ElementFromPoint ( int clientx, int clienty ) : IHTMLElement
clientx int
clienty int
return IHTMLElement

ElementToPoint() public method

Attempts to return absolute position of a given html element
public ElementToPoint ( IHTMLElement elem ) : Point
elem IHTMLElement Target element
return Point

ExecCommand() public method

public ExecCommand ( bool bTopLevel, string CmdId, bool showUI, object CmdValue ) : bool
bTopLevel bool
CmdId string
showUI bool
CmdValue object
return bool

Find() public method

public Find ( ) : bool
return bool

FindAndHightAllInPage() public method

public FindAndHightAllInPage ( string sFind, bool MatchWholeWord, bool MatchCase, Color cbackColor, Color cForeColor ) : int
sFind string
MatchWholeWord bool
MatchCase bool
cbackColor Color
cForeColor Color
return int

FindAndHightAllInPage() public method

public FindAndHightAllInPage ( string sFind, bool MatchWholeWord, bool MatchCase, int cbackColor, int cForeColor ) : int
sFind string
MatchWholeWord bool
MatchCase bool
cbackColor int
cForeColor int
return int

FindAndHightAllInPage() public method

public FindAndHightAllInPage ( string sFind, bool MatchWholeWord, bool MatchCase, string cbackColor, string cForeColor ) : int
sFind string
MatchWholeWord bool
MatchCase bool
cbackColor string
cForeColor string
return int

FindInPage() public method

public FindInPage ( string sFind, bool DownWard, bool MatchWholeWord, bool MatchCase, bool ScrollIntoView ) : bool
sFind string
DownWard bool
MatchWholeWord bool
MatchCase bool
ScrollIntoView bool
return bool

FindInPageSimple() public method

Searches a given document for a match Does not continue from where a match was found Use FindInPage method instead
public FindInPageSimple ( IHTMLDocument2 pDoc2, string sFind, bool DownWard, bool MatchWholeWord, bool MatchCase ) : bool
pDoc2 IHTMLDocument2
sFind string
DownWard bool
MatchWholeWord bool
MatchCase bool
return bool

FramesCount() public method

Returns number of FRAMES in a FRAMESET document
public FramesCount ( ) : int
return int

GetActiveDocument() public method

Attempts to return active IHTMLDocument2 interface instance
public GetActiveDocument ( ) : IHTMLDocument2
return IHTMLDocument2

GetActiveDocument3() public method

Attempts to return active IHTMLDocument3 interface instance
public GetActiveDocument3 ( ) : IHTMLDocument3
return IHTMLDocument3

GetActiveDocument4() public method

Attempts to return active IHTMLDocument4 interface instance
public GetActiveDocument4 ( ) : IHTMLDocument4
return IHTMLDocument4

GetActiveElement() public method

Attempts to return active IHTMLElement interface instance Accounts for Frames and Iframes
public GetActiveElement ( ) : IHTMLElement
return IHTMLElement

GetActiveWebBrowser2() public method

Attempts to return active IWebbrowser2 interface instance
public GetActiveWebBrowser2 ( ) : IWebBrowser2
return IWebBrowser2

GetActiveWindow2() public method

Attempts to return active IHTMLWindow2 interface instance
public GetActiveWindow2 ( ) : IHTMLWindow2
return IHTMLWindow2

GetAllLinks() public method

Attempts to collect and return a collection of A elements from the document. Accounts for frames.
public GetAllLinks ( ) : List
return List

GetAllowHTMLDialogs() public method

public GetAllowHTMLDialogs ( ) : bool
return bool

GetAnchors() public method

Attempts to return a collection of A elements
public GetAnchors ( bool bTopLevel ) : IHTMLElementCollection
bTopLevel bool
return IHTMLElementCollection

GetDesignMode() public method

Returns the value of IHTMLDocument2.designMode
public GetDesignMode ( ) : string
return string

GetDocumentScriptObjects() public method

Experimental, do not use!
public GetDocumentScriptObjects ( ) : string
return string

GetElementByID() public method

Wrapper for IHTMLDocument3.getElementById method
public GetElementByID ( bool bTopLevel, string idval ) : IHTMLElement
bTopLevel bool
idval string
return IHTMLElement

GetElementsByName() public method

Wrapper for IHTMLDocument3.getElementsByName method
public GetElementsByName ( bool bTopLevel, string elemname ) : IHTMLElementCollection
bTopLevel bool
elemname string
return IHTMLElementCollection

GetElementsByNameOrId() public method

Attempts to return a List of IHTMLElements with the given Name or Id If document is frameset then all frames are searched
public GetElementsByNameOrId ( string NameOrId ) : List
NameOrId string Name or Id of the element
return List

GetElementsByTagName() public method

Wrapper for IHTMLDocument3.getElementsByTagName method
public GetElementsByTagName ( bool bTopLevel, String tagname ) : IHTMLElementCollection
bTopLevel bool
tagname String
return IHTMLElementCollection

GetFrames() public method

Returns a list of IWebBrowser2 instances. Each IWebBrowser2 instance represents a FRAME
public GetFrames ( ) : List
return List

GetImages() public method

Attempts to return a collection of images
public GetImages ( bool bTopLevel ) : IHTMLElementCollection
bTopLevel bool
return IHTMLElementCollection

GetOpticalZoomRange() public method

Attempts to retreive optical zoom range. Example: int[] range = m_CurWB.GetOpticalZoomRange(); AllForms.m_frmLog.AppendToLog( "Min==>" + range[0].ToString() + "\r\nMax==>" + range[1].ToString());
public GetOpticalZoomRange ( ) : int[]
return int[]

GetSelectedText() public method

Attempts to retreive selected text
public GetSelectedText ( bool bTopLevel, bool ReturnAsHTML ) : string
bTopLevel bool
ReturnAsHTML bool Set to true to return the selected text in HTML format
return string

GetSource() public method

public GetSource ( IWebBrowser2 thisBrowser ) : string
thisBrowser IWebBrowser2
return string

GetSource() public method

public GetSource ( bool bTopLevel ) : string
bTopLevel bool
return string

GetText() public method

public GetText ( IWebBrowser2 thisBrowser ) : string
thisBrowser IWebBrowser2
return string

GetText() public method

public GetText ( bool bTopLevel ) : string
bTopLevel bool
return string

GetTitle() public method

public GetTitle ( IWebBrowser2 thisBrowser ) : string
thisBrowser IWebBrowser2
return string

GetTitle() public method

public GetTitle ( bool bTopLevel ) : string
bTopLevel bool
return string

GetTraveLogEntries() public method

Returns a list of all visited urls
public GetTraveLogEntries ( ) : List
return List

GetTravelLogCount() public method

public GetTravelLogCount ( ) : int
return int

GetTravelLogEntries() public method

public GetTravelLogEntries ( TravelLogEntries flags ) : List
flags TravelLogEntries
return List

GoBack() public method

public GoBack ( ) : bool
return bool

GoForward() public method

public GoForward ( ) : bool
return bool

GoHome() public method

public GoHome ( ) : void
return void

GoSearch() public method

public GoSearch ( ) : void
return void

HasFocus() public method

public HasFocus ( ) : bool
return bool

ICustomProtocolSink() public method

public ICustomProtocolSink ( byte data, string Url, string mimeType, object sink ) : void
data byte
Url string
mimeType string
sink object
return void

ICustomProtocolSink() public method

public ICustomProtocolSink ( int Inet_Error_Code, object sink ) : void
Inet_Error_Code int
sink object
return void

IEOptions() public method

public IEOptions ( ) : bool
return bool

IEVersion() public method

Attempts to find IE version by searching IOmNavigator.userAgnet
public IEVersion ( ) : string
return string

IHTMLOMWindowServices() public method

public IHTMLOMWindowServices ( int x, int y ) : void
x int
y int
return void

IManagedProtocolSink() public method

Called from DownloadCompleted method of DownloadRequestEventArgs event argument passed to client via ProtocolHandlerOnStart event
public IManagedProtocolSink ( byte data, string Url, string mimeType, object sink ) : void
data byte Byte array representing downloaded data
Url string
mimeType string Mime type of downloaded data
sink object IManagedAppBridge instance
return void

IManagedProtocolSink() public method

Called from CancelDownloadRequest method of DownloadRequestEventArgs event argument passed to client via ProtocolHandlerOnStart event
public IManagedProtocolSink ( int Inet_Error_Code, object sink ) : void
Inet_Error_Code int One of Inet_Error_xxxx errors. WinInetErrors enum can be used.
sink object IManagedAppBridge instance
return void

IManagedProtocolSink() public method

public IManagedProtocolSink ( string Url, string mimeType, object sink, string CacheFileName ) : void
Url string
mimeType string
sink object
CacheFileName string
return void

IProtectFocus() public method

public IProtectFocus ( bool &pfAllow ) : void
pfAllow bool
return void

ImportExport() public method

public ImportExport ( ) : void
return void

InvokeScript() public method

public InvokeScript ( IWebBrowser2 wb, string ScriptName, object Data ) : object
wb IWebBrowser2
ScriptName string
Data object
return object

InvokeScript() public method

Invokes a script within the HTML page
public InvokeScript ( string ScriptName, object Data ) : object
ScriptName string
Data object
return object

IsCommandEnabled() public method

Attempts to determine if commands such as "Cut", "Copy", "Paste", etc are enabled
public IsCommandEnabled ( string sCmdId ) : bool
sCmdId string
return bool

IsFrameset() public method

Determines if the current document is a FRAMESET
public IsFrameset ( ) : bool
return bool

LanguageDialog() public method

public LanguageDialog ( ) : void
return void

LoadHtmlIntoBrowser() public method

public LoadHtmlIntoBrowser ( string html ) : bool
html string
return bool

LoadHtmlIntoBrowser() public method

public LoadHtmlIntoBrowser ( string html, IWebBrowser2 wb ) : bool
html string
wb IWebBrowser2
return bool

LoadHtmlIntoBrowser() public method

public LoadHtmlIntoBrowser ( string html, string sBaseUrl ) : bool
html string
sBaseUrl string
return bool

LoadUrlIntoBrowser() public method

public LoadUrlIntoBrowser ( String url ) : bool
url String
return bool

NavToBlank() public method

public NavToBlank ( ) : void
return void

Navigate() public method

public Navigate ( string URL ) : void
URL string
return void

Navigate() public method

public Navigate ( string URL, BrowserNavConstants Flags ) : void
URL string
Flags BrowserNavConstants
return void

Navigate() public method

public Navigate ( string URL, BrowserNavConstants Flags, string PostData ) : void
URL string
Flags BrowserNavConstants
PostData string
return void

Navigate() public method

public Navigate ( string URL, BrowserNavConstants Flags, string TargetFrameName, string PostData ) : void
URL string
Flags BrowserNavConstants
TargetFrameName string
PostData string
return void

Navigate() public method

public Navigate ( string URL, byte PostData ) : void
URL string
PostData byte
return void

Navigate() public method

Navigates to a given url using a combination of BrowserNavConsts
public Navigate ( string URL, int BrowserNavConstants_Flags ) : void
URL string
BrowserNavConstants_Flags int A combination of the values defined by the BrowserNavConstants enumeration
return void

Navigate() public method

public Navigate ( string URL, string PostData ) : void
URL string
PostData string
return void

Navigate2() public method

public Navigate2 ( string URL ) : void
URL string
return void

NewWindow() public method

public NewWindow ( ) : bool
return bool

OleCommandExec() public method

public OleCommandExec ( bool bTopLevel, MSHTML_COMMAND_IDS CmdID ) : bool
bTopLevel bool
CmdID MSHTML_COMMAND_IDS
return bool

OleCommandExec() public method

public OleCommandExec ( bool bTopLevel, MSHTML_COMMAND_IDS CmdID, object pvaIn ) : bool
bTopLevel bool
CmdID MSHTML_COMMAND_IDS
pvaIn object
return bool

OnGotFocus() protected method

protected OnGotFocus ( EventArgs e ) : void
e EventArgs
return void

OnHandleCreated() protected method

protected OnHandleCreated ( EventArgs e ) : void
e EventArgs
return void

OnResize() protected method

protected OnResize ( EventArgs e ) : void
e EventArgs
return void

OrganizeFavorites() public method

public OrganizeFavorites ( ) : void
return void

PageSetup() public method

public PageSetup ( ) : bool
return bool

Paste() public method

public Paste ( ) : bool
return bool

PasteSpecial() public method

public PasteSpecial ( ) : bool
return bool

PreProcessMessage() public method

public PreProcessMessage ( Message &msg ) : bool
msg Message
return bool

Print() public method

public Print ( ) : bool
return bool

Print2() public method

public Print2 ( ) : bool
return bool

PrintDocument() public method

Alternative to Print method
public PrintDocument ( ) : void
return void

PrintPreview() public method

public PrintPreview ( ) : bool
return bool

PrintPreview2() public method

public PrintPreview2 ( ) : bool
return bool

PrintPreviewDoc() public method

Alternative to PrintPreview method
public PrintPreviewDoc ( ) : void
return void

PrivacySettings() public method

public PrivacySettings ( ) : void
return void

ProgramAccessAndDefaults() public method

public ProgramAccessAndDefaults ( ) : void
return void

Properties() public method

public Properties ( ) : bool
return bool

QueryCommandState() public method

public QueryCommandState ( bool bTopLevel, string CmdId ) : bool
bTopLevel bool
CmdId string
return bool

QueryCommandValue() public method

public QueryCommandValue ( string CmdID ) : object
CmdID string
return object

Redo() public method

public Redo ( ) : bool
return bool

Refresh() public method

public Refresh ( ) : void
return void

Refresh2() public method

public Refresh2 ( RefreshConstants Level ) : void
Level RefreshConstants
return void

RemoveAllTravelLogEntries() public method

Removes all travel log entries for this webbrowser instance
public RemoveAllTravelLogEntries ( ) : bool
return bool

RemoveTravelLogEntries() public method

Removes all entries matching given url The current entry cannot be deleted.
public RemoveTravelLogEntries ( string url ) : bool
url string
return bool

RemoveTravelLogEntry() public method

Removes one entry based on index Can not delete current entry
public RemoveTravelLogEntry ( int index ) : bool
index int 0 based index
return bool

RemoveTravelLogEntry() public method

Removes first entry matching given url and title
public RemoveTravelLogEntry ( string url, string title ) : bool
url string
title string
return bool

ResolveInternetShortCut() public method

Attempts to retrieve url of a given internet shortcut
public ResolveInternetShortCut ( string InternetShortCutPath ) : string
InternetShortCutPath string
return string

SaveAs() public method

Displays the Save page dialog.
public SaveAs ( ) : void
return void

SelectAll() public method

public SelectAll ( ) : bool
return bool

SendLinkByEmail() public method

public SendLinkByEmail ( ) : void
return void

SendPageByEmail() public method

public SendPageByEmail ( ) : void
return void

SendShortcutToDesktop() public method

public SendShortcutToDesktop ( ) : void
return void

SetAllowHTMLDialogs() public method

Call this only once, as other calls are ignored by library. Allow or disallow HTML dialogs launched using showModelessDialog() and showModalDialog() methods using CBT Window Hook.
public SetAllowHTMLDialogs ( bool bAllow ) : void
bAllow bool
return void

SetDesignMode() public method

Attempts to set the IHTMLDocument2.designMode to given sMode parameter
public SetDesignMode ( string sMode ) : bool
sMode string
return bool

SetFocus() public method

public SetFocus ( ) : void
return void

SetOpticalZoomValue() public method

Attempts to set the optical zoom value. Example: m_CurWB.SetOpticalZoomValue(300);
public SetOpticalZoomValue ( int zoomvalue ) : int
zoomvalue int Must be in the range 10 - 1000 percent
return int

ShowCertificateDialog() public method

If available, attempts to display security certifocate for the current site
public ShowCertificateDialog ( ) : void
return void

Spell() public method

public Spell ( ) : bool
return bool

StartCustomProtocol() public method

Setsup activation of a custom protocol handler This method needs to be called whether the protocol was activated previously or not as the IE server hwnd must be set so the COM library is able to notify the corresponding cEXWB instance to notify the client n turn.
public StartCustomProtocol ( string customprotocol ) : void
customprotocol string
return void

Stop() public method

public Stop ( ) : void
return void

StopCustomProtocol() public method

public StopCustomProtocol ( string customprotocol ) : void
customprotocol string
return void

StopFileDownload() public method

Stops a file download
public StopFileDownload ( int dlUID ) : void
dlUID int Unique id for this file download
return void

TravelLogTravelTo() public method

Navigates to an entry and changes the current position in the travel log to that entry
public TravelLogTravelTo ( int index ) : bool
index int Integer that specifies an offset relative to the current position /// Zero means current entry
return bool

Undo() public method

public Undo ( ) : bool
return bool

UnicodeToHTMLEncoding() public method

Attempts to convert UNICODE chars to their numeric values to be used with LoadHtmlIntoBrowser methods. sample "حقوق الطبع"
public UnicodeToHTMLEncoding ( string html ) : string
html string
return string

UserAgnet() public method

Attempts to retreive UserAgent from IHTMLWindow2.navigator object
public UserAgnet ( ) : string
return string

ViewSource() public method

public ViewSource ( ) : bool
return bool

WndProc() protected method

protected WndProc ( Message &m ) : void
m Message
return void

cEXWB() public method

public cEXWB ( ) : System
return System

dl_FileDownloadEx() public method

public dl_FileDownloadEx ( int dlUID, string sURL, string sFilename, string sExt, string sFileSize, string sExtraHeaders, string sRedirURL, bool &SendProgressEvents, bool &bStopDownload, string &sPathToSave ) : void
dlUID int
sURL string
sFilename string
sExt string
sFileSize string
sExtraHeaders string
sRedirURL string
SendProgressEvents bool
bStopDownload bool
sPathToSave string
return void

dl_OnFileDLDownloadError() public method

public dl_OnFileDLDownloadError ( int dlUID, string sURL, string sErrorMsg ) : void
dlUID int
sURL string
sErrorMsg string
return void

dl_OnFileDLEndDownload() public method

public dl_OnFileDLEndDownload ( int dlUID, string sURL, string sSavedFilePath ) : void
dlUID int
sURL string
sSavedFilePath string
return void

execScript() public method

Wrapper for IHTMLWindow2.execScript method m_CurWB.execScript(true, "javascript:__doPostBack('NY,412800013,09/15/2007,10010,18,C,165,0','false')", "JavaScript");
public execScript ( bool bTopLevel, string ScriptName, string ScriptLanguage ) : object
bTopLevel bool
ScriptName string
ScriptLanguage string
return object

m_DownloadManager_OnFileDLAuthenticate() public method

public m_DownloadManager_OnFileDLAuthenticate ( int dlUID, string &sUsername, string &sPassword, bool &Cancel ) : void
dlUID int
sUsername string
sPassword string
Cancel bool
return void

m_DownloadManager_OnFileDLProgress() public method

public m_DownloadManager_OnFileDLProgress ( int dlUID, string sURL, int lProgress, int lProgressMax, bool &CancelDl ) : void
dlUID int
sURL string
lProgress int
lProgressMax int
CancelDl bool
return void

m_csexwbCOMLib_ManagedAppBeginningTransaction() public method

public m_csexwbCOMLib_ManagedAppBeginningTransaction ( string sURL, string sRequestHeaders, string &sAdditionalHeaders, bool &Cancel ) : void
sURL string
sRequestHeaders string
sAdditionalHeaders string
Cancel bool
return void

m_csexwbCOMLib_ManagedAppDataFullyAvailable() public method

public m_csexwbCOMLib_ManagedAppDataFullyAvailable ( string sURL ) : void
sURL string
return void

m_csexwbCOMLib_ManagedAppDataFullyRead() public method

public m_csexwbCOMLib_ManagedAppDataFullyRead ( string sURL ) : void
sURL string
return void

m_csexwbCOMLib_ManagedAppOnResponse() public method

public m_csexwbCOMLib_ManagedAppOnResponse ( string sURL, string sResponseHeaders, string sRedirectedUrl, string sRedirectHeaders, bool &Cancel ) : void
sURL string
sResponseHeaders string
sRedirectedUrl string
sRedirectHeaders string
Cancel bool
return void

m_csexwbCOMLib_ManagedAppOperationFailed() public method

public m_csexwbCOMLib_ManagedAppOperationFailed ( string sURL ) : void
sURL string
return void

m_csexwbCOMLib_OnFileDLFileFullyWritten() public method

public m_csexwbCOMLib_OnFileDLFileFullyWritten ( int dlUID, string sURL, string sSavedFilePath ) : void
dlUID int
sURL string
sSavedFilePath string
return void

m_csexwbCOMLib_OnStartCustManagedApp() public method

public m_csexwbCOMLib_OnStartCustManagedApp ( string URL, object pDispCustManagedApp ) : void
URL string
pDispCustManagedApp object
return void

m_csexwbCOMLib_OnStartManagedAPP() public method

Fired by an instance of IManagedAppBridge to notify this control of start method being called. bClientHandled = true (default)
public m_csexwbCOMLib_OnStartManagedAPP ( string URL, string RequestHeaders, string PostData, string PostDataMime, object pDispManagedAppBrigde, bool bNeedFileName, string &sLocalFileName, bool &bClientHandled, bool bAsynchDownload, bool &bCancelDownload ) : void
URL string Url of the request
RequestHeaders string Request headers
PostData string Post data. If this is a post request
PostDataMime string Post data MIME. If this is a post request
pDispManagedAppBrigde object An IDispatch pointer to IManagedAppBridge instance
bNeedFileName bool
sLocalFileName string
bClientHandled bool
bAsynchDownload bool
bCancelDownload bool
return void