Click here to Skip to main content
15,884,075 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Get Status of Comm Port Pin
Blake Miller5-Jan-06 12:31
Blake Miller5-Jan-06 12:31 
QuestionHow to submit information from an application? Pin
kevincwong5-Jan-06 8:47
kevincwong5-Jan-06 8:47 
AnswerRe: How to submit information from an application? Pin
Office Lineman5-Jan-06 9:19
Office Lineman5-Jan-06 9:19 
GeneralRe: How to submit information from an application? Pin
kevincwong6-Jan-06 11:50
kevincwong6-Jan-06 11:50 
GeneralRe: How to submit information from an application? Pin
Office Lineman6-Jan-06 12:19
Office Lineman6-Jan-06 12:19 
GeneralRe: How to submit information from an application? Pin
kevincwong6-Jan-06 19:15
kevincwong6-Jan-06 19:15 
QuestionDate Time Control Pin
LCI5-Jan-06 8:30
LCI5-Jan-06 8:30 
AnswerRe: Date Time Control Pin
Office Lineman5-Jan-06 8:54
Office Lineman5-Jan-06 8:54 
Just off the top of my head, assuming you want the 4th Wednesday of nMonth in nYear:

1. Create a COleDateTime for the 1st of nMonth in nYear at noon.
2. Use GetDayofWeek to find out what day it is.
3. Determine nOffset, how many days it is 'til the first Wednesday of nMonth.
4. Create a COleDateTimeSpan of (nOffset + 21) days.
5. Add this COleDateTimeSpan to the COleDateTime from step 1.

--
I've killed again, haven't I?
QuestionCFtpConnection trouble Pin
Anacreon5-Jan-06 7:44
Anacreon5-Jan-06 7:44 
AnswerRe: CFtpConnection trouble Pin
David Crow5-Jan-06 7:55
David Crow5-Jan-06 7:55 
GeneralRe: CFtpConnection trouble Pin
Anacreon5-Jan-06 8:01
Anacreon5-Jan-06 8:01 
GeneralRe: CFtpConnection trouble Pin
David Crow5-Jan-06 8:10
David Crow5-Jan-06 8:10 
AnswerRe: CFtpConnection trouble Pin
Office Lineman5-Jan-06 8:14
Office Lineman5-Jan-06 8:14 
GeneralRe: CFtpConnection trouble Pin
Anacreon5-Jan-06 8:27
Anacreon5-Jan-06 8:27 
AnswerRe: CFtpConnection trouble Pin
Anacreon6-Jan-06 3:53
Anacreon6-Jan-06 3:53 
QuestionSound Capture Pin
rajeev825-Jan-06 5:57
rajeev825-Jan-06 5:57 
QuestionHelp in closing main application from child window Pin
pavanbabut5-Jan-06 5:48
pavanbabut5-Jan-06 5:48 
AnswerRe: Help in closing main application from child window Pin
Blake Miller5-Jan-06 6:27
Blake Miller5-Jan-06 6:27 
GeneralRe: Help in closing main application from child window Pin
pavanbabut5-Jan-06 9:43
pavanbabut5-Jan-06 9:43 
GeneralRe: Help in closing main application from child window Pin
Blake Miller5-Jan-06 9:54
Blake Miller5-Jan-06 9:54 
GeneralRe: Help in closing main application from child window Pin
pavanbabut5-Jan-06 10:33
pavanbabut5-Jan-06 10:33 
GeneralRe: Help in closing main application from child window Pin
Blake Miller5-Jan-06 11:02
Blake Miller5-Jan-06 11:02 
GeneralRe: Help in closing main application from child window Pin
pavanbabut5-Jan-06 12:10
pavanbabut5-Jan-06 12:10 
GeneralRe: Help in closing main application from child window Pin
Blake Miller5-Jan-06 12:26
Blake Miller5-Jan-06 12:26 
GeneralRe: Help in closing main application from child window Pin
pavanbabut5-Jan-06 12:43
pavanbabut5-Jan-06 12:43 

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.