Click here to Skip to main content
15,884,388 members
Home / Discussions / Windows Forms
   

Windows Forms

 
AnswerRe: c# Winforms with classes. Pin
Eddy Vluggen29-Dec-11 8:57
professionalEddy Vluggen29-Dec-11 8:57 
AnswerRe: c# Winforms with classes. Pin
Luc Pattyn30-Dec-11 0:06
sitebuilderLuc Pattyn30-Dec-11 0:06 
AnswerRe: c# Winforms with classes. Pin
Shameel2-Jan-12 2:12
professionalShameel2-Jan-12 2:12 
GeneralRe: c# Winforms with classes. Pin
BillWoodruff18-Jan-12 13:02
professionalBillWoodruff18-Jan-12 13:02 
AnswerRe: c# Winforms with classes. Pin
BillWoodruff18-Jan-12 11:56
professionalBillWoodruff18-Jan-12 11:56 
QuestionHow can a display msg file to user in Reply/ReplyAll/Forward mode just like outlook mailitems ? Pin
Tanuja12316-Dec-11 2:20
Tanuja12316-Dec-11 2:20 
QuestionScreen scraping C# Pin
Richard MacCutchan13-Oct-11 5:41
mveRichard MacCutchan13-Oct-11 5:41 
AnswerRe: Screen scraping C# Pin
Luc Pattyn13-Oct-11 6:23
sitebuilderLuc Pattyn13-Oct-11 6:23 
My two cents on web scraping:

1.
I'd rather use WebClient or HttpWebRequest/HttpWebResponse, unless there is some JavaScript/CSS going on that modified the incoming page before it gets displayed.

2.
as web pages tend to be redesigned all the time, your parser needs to be as tolerant as it possibly can. Therefore I typically try to locate the area of interest based on HTML tags, substring that part, then remove all irrelevant stuff, such as more HTML tags (they suddenly wanted the names in bold, the numbers in a larger font, etc), and reduce whitespace to its essential level (getting rid of \r, \n, \t, multiple spaces,   etc). You simply can't just rely on the exact page content, it will break in a matter of days or weeks, and you will be blamed for your app no longer working properly.

Smile | :)

PS: when your OS'es vary, so will your IE versions. And they may behave differently from one version to the next (that is the whole idea of having a new version apparently).
Luc Pattyn [My Articles] Nil Volentibus Arduum
iSad

GeneralRe: Screen scraping C# Pin
Richard MacCutchan13-Oct-11 7:39
mveRichard MacCutchan13-Oct-11 7:39 
GeneralRe: Screen scraping C# Pin
Ravi Bhavnani13-Oct-11 17:24
professionalRavi Bhavnani13-Oct-11 17:24 
GeneralRe: Screen scraping C# Pin
Richard MacCutchan13-Oct-11 22:48
mveRichard MacCutchan13-Oct-11 22:48 
GeneralRe: Screen scraping C# Pin
Richard MacCutchan16-Oct-11 1:42
mveRichard MacCutchan16-Oct-11 1:42 
AnswerRe: Screen scraping C# Pin
Luc Pattyn16-Oct-11 5:39
sitebuilderLuc Pattyn16-Oct-11 5:39 
GeneralRe: Screen scraping C# Pin
Richard MacCutchan16-Oct-11 6:41
mveRichard MacCutchan16-Oct-11 6:41 
GeneralRe: Screen scraping C# Pin
Richard MacCutchan1-Dec-11 0:32
mveRichard MacCutchan1-Dec-11 0:32 
GeneralRe: Screen scraping C# Pin
BillWoodruff11-Dec-11 9:22
professionalBillWoodruff11-Dec-11 9:22 
GeneralRe: Screen scraping C# Pin
Richard MacCutchan11-Dec-11 22:18
mveRichard MacCutchan11-Dec-11 22:18 
Questiontry to learn Pin
smokindinesh7-Oct-11 18:02
smokindinesh7-Oct-11 18:02 
AnswerRe: try to learn Pin
DaveyM697-Oct-11 23:58
professionalDaveyM697-Oct-11 23:58 
AnswerRe: try to learn Pin
RobCroll10-Oct-11 12:00
RobCroll10-Oct-11 12:00 
AnswerRe: try to learn Pin
Eddy Vluggen22-Oct-11 0:00
professionalEddy Vluggen22-Oct-11 0:00 
AnswerRe: try to learn Pin
BillWoodruff22-Oct-11 0:08
professionalBillWoodruff22-Oct-11 0:08 
QuestionOpenFileDialog exceptions Pin
MannyTheMammoth5-Oct-11 4:54
MannyTheMammoth5-Oct-11 4:54 
AnswerRe: OpenFileDialog exceptions Pin
Richard MacCutchan5-Oct-11 6:16
mveRichard MacCutchan5-Oct-11 6:16 
GeneralRe: OpenFileDialog exceptions Pin
MannyTheMammoth5-Oct-11 19:21
MannyTheMammoth5-Oct-11 19:21 

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.