Click here to Skip to main content
15,897,891 members
Home / Discussions / C#
   

C#

 
QuestionRegarding sending attachment Pin
Hum Dum17-Oct-07 20:09
Hum Dum17-Oct-07 20:09 
QuestionAccess dataset update into Sql sever Pin
pekhaleyogesh17-Oct-07 19:44
pekhaleyogesh17-Oct-07 19:44 
AnswerRe: Access dataset update into Sql sever Pin
N a v a n e e t h17-Oct-07 19:55
N a v a n e e t h17-Oct-07 19:55 
GeneralRe: Access dataset update into Sql sever Pin
pekhaleyogesh17-Oct-07 20:14
pekhaleyogesh17-Oct-07 20:14 
AnswerRe: Access dataset update into Sql sever Pin
Tobias Schoenig17-Oct-07 19:57
Tobias Schoenig17-Oct-07 19:57 
GeneralRe: Access dataset update into Sql sever Pin
pekhaleyogesh17-Oct-07 20:14
pekhaleyogesh17-Oct-07 20:14 
GeneralRe: Access dataset update into Sql sever Pin
I.explore.code17-Oct-07 21:44
I.explore.code17-Oct-07 21:44 
QuestionClick event in DOM document Pin
A.Asif17-Oct-07 19:37
A.Asif17-Oct-07 19:37 
Hi All,

I am writing a project in C# using a web browser control. Objective of this project is to automate the browser. I have an element that I want to be clicked automatically. I am using mshtml.IHTMLDocument3 interface to access DOM document and then find the element by ID. Once I do find the element by ID, I cast it to mshtml.IHTMLElement; but when I do that, I get null reference to mshtml.IHTMLElement variable. Therefore, my click method does not work. Please Help. I need this for my job.


mshtml.IHTMLDocument3 doc = (mshtml.IHTMLDocument3)this.LPBrowser.Document.DomDocument;

doc.getElementById("newlink");

mshtml.IHTMLElement a;

a = (mshtml.IHTMLElement)doc; //Casting here but a becomes null

a.click(); //null.click() so this doesn't work


Thanks.

Abdul Asif.




AnswerRe: Click event in DOM document Pin
Guffa17-Oct-07 19:49
Guffa17-Oct-07 19:49 
QuestionHow to move picturebox along with cursor movements Pin
Chintan.Desai17-Oct-07 19:19
Chintan.Desai17-Oct-07 19:19 
AnswerRe: How to move picturebox along with cursor movements Pin
Abhijit Jana17-Oct-07 19:35
professionalAbhijit Jana17-Oct-07 19:35 
GeneralRe: How to move picturebox along with cursor movements Pin
Chintan.Desai25-Oct-07 22:55
Chintan.Desai25-Oct-07 22:55 
QuestionHow can I add properties to a property? Pin
JoeRip17-Oct-07 19:05
JoeRip17-Oct-07 19:05 
AnswerRe: How can I add properties to a property? Pin
JoeRip17-Oct-07 19:21
JoeRip17-Oct-07 19:21 
AnswerRe: How can I add properties to a property? Pin
Guffa17-Oct-07 20:01
Guffa17-Oct-07 20:01 
AnswerRe: How can I add properties to a property? Pin
N a v a n e e t h17-Oct-07 19:41
N a v a n e e t h17-Oct-07 19:41 
GeneralRe: How can I add properties to a property? Pin
JoeRip17-Oct-07 19:45
JoeRip17-Oct-07 19:45 
GeneralRe: How can I add properties to a property? Pin
N a v a n e e t h17-Oct-07 19:54
N a v a n e e t h17-Oct-07 19:54 
Questionclasses Pin
kabutar17-Oct-07 19:02
kabutar17-Oct-07 19:02 
AnswerRe: classes Pin
Chintan.Desai17-Oct-07 19:33
Chintan.Desai17-Oct-07 19:33 
GeneralRe: classes Pin
kabutar17-Oct-07 19:35
kabutar17-Oct-07 19:35 
Questionhow to get the innerHtml from iframe in C# ? Pin
kkun17-Oct-07 16:51
kkun17-Oct-07 16:51 
AnswerRe: how to get the innerHtml from iframe in C# ? Pin
N a v a n e e t h17-Oct-07 18:58
N a v a n e e t h17-Oct-07 18:58 
GeneralRe: how to get the innerHtml from iframe in C# ? Pin
kkun17-Oct-07 20:52
kkun17-Oct-07 20:52 
GeneralRe: how to get the innerHtml from iframe in C# ? Pin
N a v a n e e t h17-Oct-07 22:21
N a v a n e e t h17-Oct-07 22:21 

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.