Need Help !
-
Hi Friends ! I need some help on Web Browser Control. If anybody has worked with this control pls share your ideas! waiting for your ping...(reply) thanks
-
Hi Friends ! I need some help on Web Browser Control. If anybody has worked with this control pls share your ideas! waiting for your ping...(reply) thanks
vats the pblm using webbrowser control?Have u tried that? Plz avoid using Need Help ! as subject line, instead specify your specific subject :|
Arun Jacob http://codepronet.blogspot.com/
-
vats the pblm using webbrowser control?Have u tried that? Plz avoid using Need Help ! as subject line, instead specify your specific subject :|
Arun Jacob http://codepronet.blogspot.com/
i am using the code like bellow, but it does not work
SHDocVw.InternetExplorer browser;
browser.FileDownload += new DWebBrowserEvents2_FileDownloadEventHandler(browser_FileDownload);void browser_FileDownload(ref bool Cancel)
{
//throw new Exception("The method or operation is not implemented.");
}while i download all the event is not fired. but other events like browser.DocumentComplete, browser.BeforeNavigate2 etc is fired properly do u have any suggestion
-
Hi Friends ! I need some help on Web Browser Control. If anybody has worked with this control pls share your ideas! waiting for your ping...(reply) thanks
Stop reposting. Your question below had a more appropriate title.
only two letters away from being an asset
-
Stop reposting. Your question below had a more appropriate title.
only two letters away from being an asset
thanks for the comment, i do so ! Try Different Do Best Jacob
-
i am using the code like bellow, but it does not work
SHDocVw.InternetExplorer browser;
browser.FileDownload += new DWebBrowserEvents2_FileDownloadEventHandler(browser_FileDownload);void browser_FileDownload(ref bool Cancel)
{
//throw new Exception("The method or operation is not implemented.");
}while i download all the event is not fired. but other events like browser.DocumentComplete, browser.BeforeNavigate2 etc is fired properly do u have any suggestion
jasome wrote:
SHDocVw.InternetExplorer browser; browser.FileDownload += new DWebBrowserEvents2_FileDownloadEventHandler(browser_FileDownload);
Is InternetExplorer the WebBrowser control?Which event having this line of code?Have you put a break point and check 2 see if this event is firing at any stage?
Arun Jacob http://codepronet.blogspot.com/
-
jasome wrote:
SHDocVw.InternetExplorer browser; browser.FileDownload += new DWebBrowserEvents2_FileDownloadEventHandler(browser_FileDownload);
Is InternetExplorer the WebBrowser control?Which event having this line of code?Have you put a break point and check 2 see if this event is firing at any stage?
Arun Jacob http://codepronet.blogspot.com/
Well i just give the entire code block.
private SHDocVw.InternetExplorer browser;
private SHDocVw.ShellWindows shellWindows;
private ArrayList Current_IE_Handles;#region Constructors
public Form1()
{
InitializeComponent();
Current_IE_Handles = new ArrayList();
shellWindows = new SHDocVw.ShellWindowsClass();
shellWindows.WindowRegistered += new SHDocVw.DShellWindowsEvents_WindowRegisteredEventHandler(shellWindows_WindowRegistered);
shellWindows.WindowRevoked += new SHDocVw.DShellWindowsEvents_WindowRevokedEventHandler(shellWindows_WindowRevoked);
}
#endregionprivate void shellWindows_WindowRegistered(int z)
{
string filnam;foreach (SHDocVw.InternetExplorer ie in shellWindows) { filnam = Path.GetFileNameWithoutExtension(ie.FullName).ToLower(); if (filnam.Equals("iexplore")) { browser = ie; bool check = true; for (int i = 0; i < Current\_IE\_Handles.Count; i++) { if (Current\_IE\_Handles\[i\].ToString() == browser.HWND.ToString()) { check = false; } } if (check == true) { browser.DocumentComplete += new DWebBrowserEvents2\_DocumentCompleteEventHandler(browser\_DocumentComplete); browser.FileDownload += new DWebBrowserEvents2\_FileDownloadEventHandler(browser\_FileDownload); } } } }
void browser_FileDownload(ref bool Cancel)
{
//throw new Exception("The method or operation is not implemented.");
}After running this program when you open Internet Explorer(IE) the DOM object will be created. and when ever the changes happens in the IE(navigate,document completer,) event will be fired. using that i have traced all the visited urls,popups,print activity,etc but i dont get event fired for File Download thanks