Click here to Skip to main content
13,403,829 members (51,435 online)
   

C#

 
GeneralRe: Unable to cast COM object of type 'mshtml.HTMLDocumentClass' to class type 'System.Windows.Forms.HtmlDocument'. Pin
BillWoodruff26-Sep-13 9:01
memberBillWoodruff26-Sep-13 9:01 
GeneralRe: Unable to cast COM object of type 'mshtml.HTMLDocumentClass' to class type 'System.Windows.Forms.HtmlDocument'. Pin
TnTinMn26-Sep-13 16:29
memberTnTinMn26-Sep-13 16:29 
QuestionTake the first day of the month and the last day of the month ? Pin
Member 24584679-Sep-13 23:59
memberMember 24584679-Sep-13 23:59 
AnswerRe: Take the first day of the month and the last day of the month ? Pin
Richard MacCutchan10-Sep-13 0:43
mvpRichard MacCutchan10-Sep-13 0:43 
GeneralRe: Take the first day of the month and the last day of the month ? Pin
Pete O'Hanlon10-Sep-13 1:44
protectorPete O'Hanlon10-Sep-13 1:44 
AnswerRe: Take the first day of the month and the last day of the month ? Pin
Pete O'Hanlon10-Sep-13 1:38
protectorPete O'Hanlon10-Sep-13 1:38 
AnswerRe: Take the first day of the month and the last day of the month ? Pin
Pete O'Hanlon10-Sep-13 3:22
protectorPete O'Hanlon10-Sep-13 3:22 
AnswerRe: Take the first day of the month and the last day of the month ? Pin
ExcellentOrg10-Sep-13 6:27
groupExcellentOrg10-Sep-13 6:27 
Nothing is wrong with this code, fellas. This approach is format, Culture independent.

I've used this kind of logic many many times and its very compact.

As is obvious to all, 1st of a month is never a problem because all months have 1st.

Instead of writing yet another variant in C++/C# for "30 days hath sep...", simply add 1 to month to the variable you had for 1st of month, and then subtract 1 day from the Resulting date.

It is meant to done in date arithmetic with valid values in Date's class.
GeneralRe: Take the first day of the month and the last day of the month ? Pin
jschell10-Sep-13 9:52
memberjschell10-Sep-13 9:52 
QuestionHand detection based on skin color using EmguCV Pin
Member 1023788229-Aug-13 8:01
memberMember 1023788229-Aug-13 8:01 
AnswerRe: Hand detection based on skin color using EmguCV Pin
OriginalGriff29-Aug-13 9:37
protectorOriginalGriff29-Aug-13 9:37 
GeneralRe: Hand detection based on skin color using EmguCV Pin
Member 1023788229-Aug-13 10:09
memberMember 1023788229-Aug-13 10:09 
GeneralRe: Hand detection based on skin color using EmguCV Pin
OriginalGriff29-Aug-13 11:05
protectorOriginalGriff29-Aug-13 11:05 
GeneralRe: Hand detection based on skin color using EmguCV Pin
Pete O'Hanlon29-Aug-13 11:08
protectorPete O'Hanlon29-Aug-13 11:08 
GeneralRe: Hand detection based on skin color using EmguCV Pin
Member 1023788229-Aug-13 13:53
memberMember 1023788229-Aug-13 13:53 
QuestionSMDR Data Collection using Tcp/ip in c# Pin
hamroush29-Aug-13 0:31
memberhamroush29-Aug-13 0:31 
QuestionRe: SMDR Data Collection using Tcp/ip in c# Pin
Richard MacCutchan29-Aug-13 1:31
mvpRichard MacCutchan29-Aug-13 1:31 
AnswerRe: SMDR Data Collection using Tcp/ip in c# Pin
Member 1021839629-Aug-13 4:08
professionalMember 1021839629-Aug-13 4:08 
GeneralRe: SMDR Data Collection using Tcp/ip in c# Pin
Richard MacCutchan29-Aug-13 4:20
mvpRichard MacCutchan29-Aug-13 4:20 
AnswerRe: SMDR Data Collection using Tcp/ip in c# Pin
ThePhantomUpvoter29-Aug-13 3:06
professionalThePhantomUpvoter29-Aug-13 3:06 
GeneralRe: SMDR Data Collection using Tcp/ip in c# Pin
Richard MacCutchan29-Aug-13 4:22
mvpRichard MacCutchan29-Aug-13 4:22 
QuestionHow to change BG color of tree node on click event Pin
rfresh24-Aug-13 7:51
memberrfresh24-Aug-13 7:51 
AnswerRe: How to change BG color of tree node on click event Pin
Mycroft Holmes24-Aug-13 14:37
professionalMycroft Holmes24-Aug-13 14:37 
GeneralRe: How to change BG color of tree node on click event Pin
rfresh24-Aug-13 17:07
memberrfresh24-Aug-13 17:07 
GeneralRe: How to change BG color of tree node on click event Pin
rfresh24-Aug-13 19:16
memberrfresh24-Aug-13 19:16 

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.


Advertise | Privacy |
Web03 | 2.8.1802120.2 | Last Updated 21 Feb 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid