CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 10/18/2005 7:18:58 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 83 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
1 Items, 1 Pages 1 |< << Go >> >|
blueline
Asp.Net User
Using WebBrowser to access HTML DOM10/18/2005 7:18:58 PM

0/0

I am trying to access an HTML table programatically using the HTML DOM.  I have used WebRequest and WebResponse to get a stream of an HTML page. 

Dim request As WebRequest = WebRequest.Create(strUrl)
Dim browser as New WebBrowser
Dim stream as Stream = response.GetResponseStream()

browser.DocumentStream = stream

Dim htmlDoc as HTMLDocument = browser.Document

The stream is not being loaded into the WebBrowser object.  Do I need to have the WebBrowser object on a Windows Form, or can I just use it in a non-interactive class?  Really, what I am trying to avoid is having to parse the HTML document manually.  I'd like to access the HTML through the document object model.

Thanks,
BL

1 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Professional JavaScript for Web Developers Authors: Nicholas C. Zakas, Pages: 0, Published: 2005
Universal Access in HCI: Towards an Information Society for All Authors: Constantine Stephanidis, Pages: 1133, Published: 2001
Hypertext 03: The Fourteenth ACM Conference on Hypertext and Hypermedia, August 26-30, 2003, Nottingham, UK. Authors: Association for Computing Machinery, Association for Computing Machinery Special Interest Group on Hypertext, Hypermedia and Web, Pages: 222, Published: 2003
Flex 3 Cookbook: Code-Recipes, Tips, and Tricks for RIA Developers Authors: Joshua Noble, Joey Lott, Todd Anderson, Chafic Kazoun, Pages: 673, Published: 2008
Platinum Edition Using XHTML, XML and Java 2: Using XHTML, XML and Java 2 Authors: Eric Ladd, Jim O'Donnell, Mike Morgan, Andrew H. Watt, Pages: 1413, Published: 2001
Visual Basic 2005 Cookbook: Solutions for VB 2005 Programmers Authors: Tim Patrick, John Craig, John Clark Craig, Pages: 713, Published: 2006
JavaScript: The Definitive Guide Authors: David Flanagan, Pages: 994, Published: 2006
Pro .NET 2.0 Windows Forms and Custom Controls in C#: From Professional to Expert Authors: Matthew MacDonald, Pages: 1037, Published: 2005
The Internet Encyclopedia: A - F Authors: Hossein Bidgoli, Pages: 880, Published: 2004
AdvancED DOM Scripting: Dynamic Web Design Techniques Authors: Jeffrey Sambells, Aaron Gustafson, Pages: 570, Published: 2007

Web:
Extending the WebBrowser DOM | Ehsan Akhgari Jun 22, 2008 ... Without this, using WebBrowser control will not make much sense, unless you only want to show the users some nice HTML stuff without ...
How to: Access the Managed HTML Document Object Model You can access the HTML DOM representing the page on which your UserControl is ... When using the DOM through the WebBrowser control, you should always wait ...
jdic: JDIC Browser DOM API Specification This guideline helps web developers to build applications using standardized .... Developers who write code to access DOM objects returned by WebBrowser. ...
Accessing IE DOM using VB6- alternatives to web browser control ... Accessing IE DOM using VB6- alternatives to web browser control? ... without using HTML (ie. using VB's form controls instead)- too time ...
WebBrowser control in a WPF app. - Vista Forums Hi, I need to embed a WebBrowser control in my WPF application that enables me to view html pages and access the DOM for those.
W3C DOM Compatibility - HTML This compatibility table details support for the W3C DOM HTML Level 1 and 2 modules in all modern browsers ... Solve this by using pure DOM methods instead. ...
Using XML-Capable Web Browser Widgets: Part 1 IE5B2 WebBrowser Control It looks like the IE5 WebBrowser control and the NGLayout control from Mozilla ... XML document and then using the DOM-access API, I only found an HTML DOM, ...
Increase responsiveness of the access control monitoring ... Ajax is based on specifications: Xml 1, Html 4.0, DOM 2, from W3C, EcmaScript .... system with the web browser interface. Using of ajax technology, ...
Richie's IE & WebBrowser - DOM Tips We have to "read" HTML code the first time we access login page. ... and you have been using WebBrowser control, so, i will not explain here again. ...
IE 5 Cross-frame security vulnerability using IFRAME and ... The WebBrowser control has an accessible property "document" that allows access to the DOM of the target document. Note: this is a similar vulnerability to ...

Videos:
XML11: An Abstract Windowing Protocol Google TechTalks June 1, 2006 Arno Puder Arno Puder received his masters and Ph.D. in computer science and is currently working as an Assistant Prof...
Web Applications and the Ubiquitous Web Google TechTalks February 1, 2006 Dave Raggett Dave Raggett is currently a W3C Fellow from Canon, and W3C Activity Lead for Multimodal Interaction....




Search This Site:










reverse engineering tools

control can't seem to be renamed

can i install visual studio.net 2005

limit attribute choices

how to unlock design view in visual studio 2005

xml documentation - now what?

email and multiple threads, seleted of listbox

unexplainable problems referencing other project in solution

adding control and renaming very slow

is the gridview update/cancel command broken is vs2005 beta 2?

asp.net development server serves images as "application/octet-stream" content type

referencing a strongly-typed page in another page

how to set up remote debugging?

vista + visual studio - the web server does not appear to have the frontpage server extensions installed

standard import in web.config, what am i missing?

if i try to put breakpoint in javascript code for asp.net 2.0, it don't allow

dataset designer issue

"free coding" in visual studio

visual studio .net 2003 - vs2005

os loaderlock? please help!

visual studio 2005 complaints

asp.net version mismatch

how do i embed my c# (code behind) in the asp.net itself

creating a new web site or project>>visual c#>>asp.net web application

do these features exist? if no please consider adding

what my server need?

"the directory name is invalid" error (help)

namespaces

report viewer control does not show print button in asp.net 2005

how many lines of code?

  Privacy | Contact Us
All Times Are GMT