|
Prev: Datagridview not populating from stored proc with 2 parameters
Next: Crystal Report To Excel Problem
From: Mr. Clean on 8 Jul 2008 09:16 kimiraikkonen wrote: >> What are you trying to get. If you are trying to get a link when the mouse >> is over one on a page you can use the StatusTextChanged event to get links. >> >> LS > > Yes, but that doesn't provide when mouse is over an image which is my > goal about retrieving image location. > > However, i did it using "AddHandler webbrowser1.Document.MouseOver, > AddressOf Me.DisplayHyperlinks" but my question and wonder was just > about why Intellisense doesn't offer "Document" after webbrowser1 > while you're typing syntax manually instead of pasting from > somewhere,you can test it. Though IntelliSense doesn't offer and > recognize "Document" after "webbrowser1" object, if i type it without > addhandler keyword just to use its members somewhere else it sees > "Document" member of "webbrowser1" object with no problem, but as i > said if paste the code without manually typing, there are no errors > reported even on building my application. > > That's weird of IntelliSense. > > Thanks, > > Onur Could it be that your reference link to the MSHTML library is corrupted? ** Posted from http://www.teranews.com **
From: kimiraikkonen on 9 Jul 2008 18:19 On Jul 8, 4:16 pm, "Mr. Clean" <mrclean@p&G.com> wrote: > kimiraikkonen wrote: > >> What are you trying to get. If you are trying to get a link when the mouse > >> is over one on a page you can use the StatusTextChanged event to get links. > > >> LS > > > Yes, but that doesn't provide when mouse is over an image which is my > > goal about retrieving image location. > > > However, i did it using "AddHandler webbrowser1.Document.MouseOver, > > AddressOf Me.DisplayHyperlinks" but my question and wonder was just > > about why Intellisense doesn't offer "Document" after webbrowser1 > > while you're typing syntax manually instead of pasting from > > somewhere,you can test it. Though IntelliSense doesn't offer and > > recognize "Document" after "webbrowser1" object, if i type it without > > addhandler keyword just to use its members somewhere else it sees > > "Document" member of "webbrowser1" object with no problem, but as i > > said if paste the code without manually typing, there are no errors > > reported even on building my application. > > > That's weird of IntelliSense. > > > Thanks, > > > Onur > > Could it be that your reference link to the MSHTML library is corrupted? > ** Posted fromhttp://www.teranews.com** It doesn't seem any reference to MSHTML library, i use Webbrowser control. However, as i stated, pasting the whole code claims no error even on compiling about "Document" when it's used with Addhandler, and just IntelliSense doesn't recognize Document after Addhandler webbrowser.Document...., except Steve's workaround that is described in previous posts which is worked. Thanks, Onur Güzel
First
|
Prev
|
Pages: 1 2 3 Prev: Datagridview not populating from stored proc with 2 parameters Next: Crystal Report To Excel Problem |