Thread: How-To mine data from HTML page
View Single Post
  #4 (permalink)  
Old 09-01-2008, 4:38 PM
JohnH's Avatar
JohnH JohnH is offline
VB.NET Forum Moderator
.NET Framework: .NET 3.5 (VS 2008)
 
Join Date: Dec 2005
Location: Norway
Age: 37
Posts: 10,322
Reputation: 1315
JohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond repute
Default

hmm, unfortunate, you can't use the Windows.Forms.WebBrowser then, it is an excellent solution but you can't use it in ASP.Net web applications. If you can't find another DOM parser library you just have to use String manipulations and/or Regex. I will mention Html Agility Pack, which I know work, although it is not the best tip here at VB.Net forums because it requires you to compile this C# class library yourself, but if you're resourceful you can utilize this library easily. The old MSHTML library can be used too, similar to the WebBrowser control, only a bit messier, as described in this CodeProject article HTML Parsing using .NET Framework.
__________________
Reply With Quote