This 4guys article doesn't work!

Iamok

New Member
Perhaps it's my mistake, but this article's code doesn't appear to work at all for me, even when trying it exactly as it's written:<BR><BR>http://www.4guysfromrolla.com/webtech/070601-1.shtml<BR><BR>It's screen-scraping in asp.net. It's done in VB.net but I need it in C#. I tried it line for line and got nothing but errors. Apparently there IS no UTF8Encoding class to call, I don't see it anywhere and it's not found when trying to compile the code!<BR><BR>This is a big problem I've had w/ a lot of 4guys articles in the past, some, like this - provide no real documentation on how to use the code! Kind of sloppy in my opinion.<BR><BR>If anyone can correct me or this article or both, please do.<BR><BR>ThanksWhat version of the .NET Framework are you using? The code in the article is for Beta 2. You can see a running version at:<BR>http://aspnet.4guysfromrolla.com/demos/ScreenScrapeDemo.aspx<BR><BR>If you have Beta 2, you can read about the UTF8Encoding class at:<BR>ms-help://MS.VSCC/MS.MSDNVS/cpref/html/frlrfSystemTextUTF8EncodingClassTopic.htm<BR><BR>> This is a big problem I've had w/ a lot of 4guys articles <BR>> in the past, some, like this - provide no real <BR>> documentation on how to use the code! Kind of sloppy in <BR>> my opinion<BR><BR>I have to make a comment on this. 4Guys articles don't provide technical documentation because that can be found online easily or on your computer. (Start/Programs/Microsoft ASP.NET/Documentation) 4Guys _does_ provide a lot of explanation in the article. Compare my article on screen scraping to Steve Smith's:<BR>http://www.aspalliance.com/stevesmith/articles/netscrape.asp<BR><BR>My article provides more meat, IMO. Also, most articles on 4Guys provide more "meat" than the screen scraping one.I just tried it and it went like a bought one. I just wonder what sort of trouble I can get myself into now I know how easy this Screen Scraping stuff is.
 
Back
Top