Click here to Skip to main content
15,910,886 members
Home / Discussions / C#
   

C#

 
AnswerRe: What's the best way to check that Pin
#realJSOP8-Jan-09 0:04
professional#realJSOP8-Jan-09 0:04 
NewsRe: What's the best way to check that Pin
CodingLover8-Jan-09 0:08
CodingLover8-Jan-09 0:08 
GeneralRe: What's the best way to check that Pin
#realJSOP8-Jan-09 0:23
professional#realJSOP8-Jan-09 0:23 
AnswerRe: What's the best way to check that Pin
sourabhsorate9-Jan-09 23:35
sourabhsorate9-Jan-09 23:35 
Questionadress standardization Pin
lawrenceinba7-Jan-09 23:33
lawrenceinba7-Jan-09 23:33 
AnswerRe: adress standardization Pin
DaveyM697-Jan-09 23:56
professionalDaveyM697-Jan-09 23:56 
QuestionRe: adress standardization Pin
Eddy Vluggen8-Jan-09 0:31
professionalEddy Vluggen8-Jan-09 0:31 
AnswerRe: adress standardization Pin
lawrenceinba8-Jan-09 1:02
lawrenceinba8-Jan-09 1:02 
GeneralRe: adress standardization Pin
Ashfield8-Jan-09 1:31
Ashfield8-Jan-09 1:31 
GeneralRe: adress standardization Pin
lawrenceinba8-Jan-09 1:46
lawrenceinba8-Jan-09 1:46 
GeneralRe: adress standardization Pin
Eddy Vluggen8-Jan-09 1:58
professionalEddy Vluggen8-Jan-09 1:58 
GeneralRe: adress standardization Pin
musefan8-Jan-09 1:49
musefan8-Jan-09 1:49 
GeneralRe: adress standardization Pin
musefan8-Jan-09 1:55
musefan8-Jan-09 1:55 
GeneralRe: adress standardization Pin
Eddy Vluggen8-Jan-09 1:55
professionalEddy Vluggen8-Jan-09 1:55 
GeneralRe: adress standardization Pin
lawrenceinba8-Jan-09 2:02
lawrenceinba8-Jan-09 2:02 
GeneralRe: adress standardization Pin
Eddy Vluggen8-Jan-09 3:39
professionalEddy Vluggen8-Jan-09 3:39 
GeneralRe: adress standardization Pin
lawrenceinba8-Jan-09 4:34
lawrenceinba8-Jan-09 4:34 
AnswerRe: adress standardization Pin
Henry Minute8-Jan-09 1:44
Henry Minute8-Jan-09 1:44 
QuestionWeb Browser Control events Pin
Nagaraj Muthuchamy7-Jan-09 23:25
professionalNagaraj Muthuchamy7-Jan-09 23:25 
Hi,

I am using WebBrowser Control and passing the url at run time.

I want to insert some text or javascript into the body of the web page being loaded in the browser.

I tried like below.
private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)        {            WebBrowser browse = (WebBrowser)sender;            if (!(webBrowser1.Document.Body.InnerHtml.Contains("Hello")))            {                webBrowser1.Document.Body.InnerHtml = browse.Document.Body.InnerHtml + "<script type='text/javascript'>				var Hello;		var i;				var totalTable  = document.getElementsByTagName('table').length;				for(i=0;i < totalTable; i++)		{		    document.getElementsByTagName('table')[i].id  = 'name' + i;		}		function myfun()		{		   		      this.style.border  = 'solid 5px Red';		}		function myfun1()		{		   		      this.style.border  = 'none';		}		for(i=0;i < totalTable; i++)		{		    document.getElementsByTagName('table')[i].onmouseover  = myfun;		    document.getElementsByTagName('table')[i].onmouseout  = myfun1;		}    </script>";            }        }


But, This is not working. This event is fired many times for single page.

Thanks,
Nagaraj

"We owe a lot to the Indians, who taught us how to count, without which no worthwhile scientific discovery could have been made!"
- Albert Einstein

QuestionHow to open a excel2007 file in read-only mode? Pin
llllllkk7-Jan-09 23:22
llllllkk7-Jan-09 23:22 
AnswerRe: How to open a excel2007 file in read-only mode? Pin
EliottA8-Jan-09 2:37
EliottA8-Jan-09 2:37 
GeneralRe: How to open a excel2007 file in read-only mode? Pin
llllllkk8-Jan-09 3:46
llllllkk8-Jan-09 3:46 
GeneralRe: How to open a excel2007 file in read-only mode? Pin
EliottA8-Jan-09 3:48
EliottA8-Jan-09 3:48 
GeneralRe: How to open a excel2007 file in read-only mode? Pin
llllllkk8-Jan-09 15:38
llllllkk8-Jan-09 15:38 
GeneralRe: How to open a excel2007 file in read-only mode? Pin
EliottA9-Jan-09 2:28
EliottA9-Jan-09 2:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.