Click here to Skip to main content
15,909,822 members
Home / Discussions / C#
   

C#

 
AnswerRe: Send video capture over LAN Pin
Alex Manolescu11-Jan-10 9:49
Alex Manolescu11-Jan-10 9:49 
QuestionFinding * characters in a string Pin
sleepyman11-Jan-10 8:52
sleepyman11-Jan-10 8:52 
AnswerRe: Finding * characters in a string Pin
Alex Manolescu11-Jan-10 9:31
Alex Manolescu11-Jan-10 9:31 
GeneralRe: Finding * characters in a string Pin
PIEBALDconsult11-Jan-10 14:54
mvePIEBALDconsult11-Jan-10 14:54 
AnswerRe: Finding * characters in a string Pin
Luc Pattyn11-Jan-10 9:48
sitebuilderLuc Pattyn11-Jan-10 9:48 
GeneralRe: Finding * characters in a string Pin
sleepyman12-Jan-10 8:11
sleepyman12-Jan-10 8:11 
AnswerRe: Finding * characters in a string Pin
PIEBALDconsult11-Jan-10 14:52
mvePIEBALDconsult11-Jan-10 14:52 
Questiongetting a specific tag out of a web page Dom info [modified] Pin
manustone11-Jan-10 6:39
manustone11-Jan-10 6:39 
Hi All

I am creating an application in order to get the DOM info of a Web Page.
I cannot extract a TBODY tag using my application.
I am using

*the control WebBrowser shipped by Visual Studio
*a reference to the Com Microsoft.mshtml 7.0.3300.0

If I use the "Internet Explorer Developer Toolbar" I can see all information I need.

The <TBODY> tag has id "tbody_rank_by_level" and carries a list of <TR> tags full of data
that are showed in attributes innertHTML and innertText.

Using the code below innertHtml and innertText are both null.
What I am doing wrong?

mshtml.IHTMLDocument3 domDoc = this.webBrowser.Document.DomDocument as mshtml.IHTMLDocument3;
mshtml.IHTMLElement element = domDoc.getElementById("tbody_rank_by_level");
String innerHtml = element.innerHTML;
String innerText = element.innerText;


modified on Monday, January 11, 2010 3:07 PM

AnswerRe: getting a specific tag out of a web page Dom info Pin
manustone12-Jan-10 20:41
manustone12-Jan-10 20:41 
QuestionMerge strings and overwrite certain characters based on a filter Pin
AndreasLa11-Jan-10 6:18
AndreasLa11-Jan-10 6:18 
AnswerRe: Merge strings and overwrite certain characters based on a filter Pin
Dave Kreskowiak11-Jan-10 6:32
mveDave Kreskowiak11-Jan-10 6:32 
AnswerRe: Merge strings and overwrite certain characters based on a filter Pin
Saksida Bojan11-Jan-10 6:38
Saksida Bojan11-Jan-10 6:38 
Questionwriting xml using datagrid Pin
naghoumeh1411-Jan-10 6:04
naghoumeh1411-Jan-10 6:04 
QuestionGetting all data from commandline app Pin
blaatschapje11-Jan-10 5:31
blaatschapje11-Jan-10 5:31 
AnswerRe: Getting all data from commandline app Pin
Alan N11-Jan-10 6:22
Alan N11-Jan-10 6:22 
AnswerRe: Getting all data from commandline app Pin
Luc Pattyn11-Jan-10 7:01
sitebuilderLuc Pattyn11-Jan-10 7:01 
QuestionMerging or adding 2 different DataTables into Single DataTable Pin
K V Sekhar11-Jan-10 5:20
K V Sekhar11-Jan-10 5:20 
AnswerRe: Merging or adding 2 different DataTables into Single DataTable Pin
Dave Kreskowiak11-Jan-10 6:26
mveDave Kreskowiak11-Jan-10 6:26 
GeneralRe: Merging or adding 2 different DataTables into Single DataTable Pin
K V Sekhar11-Jan-10 15:39
K V Sekhar11-Jan-10 15:39 
GeneralRe: Merging or adding 2 different DataTables into Single DataTable Pin
Dave Kreskowiak11-Jan-10 17:29
mveDave Kreskowiak11-Jan-10 17:29 
QuestionBlocking Queue Pin
ika211-Jan-10 3:38
ika211-Jan-10 3:38 
AnswerRe: Blocking Queue Pin
harold aptroot11-Jan-10 3:41
harold aptroot11-Jan-10 3:41 
GeneralRe: Blocking Queue Pin
ika211-Jan-10 4:18
ika211-Jan-10 4:18 
GeneralRe: Blocking Queue [modified] Pin
harold aptroot11-Jan-10 4:32
harold aptroot11-Jan-10 4:32 
AnswerRe: Blocking Queue Pin
Nicholas Butler11-Jan-10 5:31
sitebuilderNicholas Butler11-Jan-10 5:31 

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.