Click here to Skip to main content
15,890,438 members
Home / Discussions / C#
   

C#

 
AnswerRe: HELP!!!!!!!!!!!!!!HELP>>> Pin
Alaric_26-May-10 2:28
professionalAlaric_26-May-10 2:28 
GeneralRe: HELP!!!!!!!!!!!!!!HELP>>> Pin
JHizzle26-May-10 3:17
JHizzle26-May-10 3:17 
QuestionOpening an application through Services.msc Pin
le0nard25-May-10 15:56
le0nard25-May-10 15:56 
AnswerRe: Opening an application through Services.msc Pin
#realJSOP26-May-10 0:08
mve#realJSOP26-May-10 0:08 
QuestionWebBrowser object and the result of an Ajax request [modified] Pin
LeonardoDaga25-May-10 13:17
LeonardoDaga25-May-10 13:17 
AnswerRe: WebBrowser object and the result of an Ajax request Pin
AspDotNetDev25-May-10 15:10
protectorAspDotNetDev25-May-10 15:10 
GeneralRe: WebBrowser object and the result of an Ajax request Pin
LeonardoDaga30-May-10 7:36
LeonardoDaga30-May-10 7:36 
GeneralRe: WebBrowser object and the result of an Ajax request Pin
AspDotNetDev30-May-10 10:26
protectorAspDotNetDev30-May-10 10:26 
C#
HtmlElement head = webBrowser1.Document.GetElementsByTagName("head")[0]; 
HtmlElement scriptEl = webBrowser1.Document.CreateElement("script"); 
IHTMLScriptElement element = (IHTMLScriptElement)scriptEl.DomElement; 
element.text = "function sayHello() { alert('hello') }"; 
head.AppendChild(scriptEl); 
webBrowser1.Document.InvokeScript("sayHello");


Source: http://stackoverflow.com/questions/153748/webbrowser-control-from-net-how-to-inject-javascript[^]

QuestionFTPClient Security? Pin
Chase Davis25-May-10 12:27
Chase Davis25-May-10 12:27 
AnswerRe: FTPClient Security? Pin
Richard MacCutchan25-May-10 22:43
mveRichard MacCutchan25-May-10 22:43 
GeneralRe: FTPClient Security? Pin
Chase Davis26-May-10 2:11
Chase Davis26-May-10 2:11 
AnswerRe: FTPClient Security? Pin
Alaric_26-May-10 2:19
professionalAlaric_26-May-10 2:19 
GeneralRe: FTPClient Security? Pin
Chase Davis26-May-10 2:57
Chase Davis26-May-10 2:57 
GeneralRe: FTPClient Security? Pin
Alaric_26-May-10 3:51
professionalAlaric_26-May-10 3:51 
Questioncombining 2 project into one Pin
igalep13225-May-10 12:00
igalep13225-May-10 12:00 
AnswerRe: combining 2 project into one Pin
#realJSOP25-May-10 12:17
mve#realJSOP25-May-10 12:17 
GeneralRe: combining 2 project into one Pin
AspDotNetDev25-May-10 15:07
protectorAspDotNetDev25-May-10 15:07 
AnswerRe: combining 2 project into one Pin
Johnny J.25-May-10 21:00
professionalJohnny J.25-May-10 21:00 
AnswerRe: combining 2 project into one Pin
Abhinav S25-May-10 23:03
Abhinav S25-May-10 23:03 
AnswerRe: combining 2 project into one Pin
annathor25-May-10 23:08
annathor25-May-10 23:08 
QuestionSplitter control, resize immediately? Pin
Druuler25-May-10 11:14
Druuler25-May-10 11:14 
AnswerRe: Splitter control, resize immediately? Pin
Luc Pattyn25-May-10 14:16
sitebuilderLuc Pattyn25-May-10 14:16 
GeneralRe: Splitter control, resize immediately? Pin
Druuler25-May-10 14:32
Druuler25-May-10 14:32 
GeneralRe: Splitter control, resize immediately? Pin
Luc Pattyn25-May-10 14:47
sitebuilderLuc Pattyn25-May-10 14:47 
AnswerRe: Splitter control, resize immediately? Pin
Alan N26-May-10 5:42
Alan N26-May-10 5:42 

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.