Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

dll - Trying to use HtmlAgilityPack -


im having problems trying install htmlagilitypack.dll ver 1.4. i've copied files windows\system32 folder , tried regsvr32 htmlagilitypack.dll in run.

i got following error:

the module loaded entry point dllunregisterserver not found. 

it seems common library used many people on so dll's cant corrupted. how fix this?

the reason can't use regsvr32 because html agility pack isn't com library. it's written in .net, need reference .net project.

  1. download latest zip file , extract somewhere on local hard disk e.g. c:\sharedlibs\htmlagilitypack.
  2. launch visual studio (or 1 of vs express editions)
  3. create new project or open existing one.
  4. in solution explorer right click on references , click add reference.
  5. click browse tab , browse extracted agility pack
  6. select htmlagilitypack.dll dll
  7. click ok

refer codeplex site:

html agility pack home
html agility pack examples

here's couple of links dug in everyone's favourite search engine:

a simple web crawler in c# using htmlagilitypack
.net html agility pack: how use malformed html well-formed xml...


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -