Click here to Skip to main content
15,891,864 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to remove the "0" from the starting i.e. from the left of the CString Pin
Code-o-mat24-May-11 22:31
Code-o-mat24-May-11 22:31 
AnswerRe: How to remove the "0" from the starting i.e. from the left of the CString Pin
_AnsHUMAN_ 25-May-11 1:23
_AnsHUMAN_ 25-May-11 1:23 
QuestionWeird ::CopyFile problem Pin
od@ananzi.co.za24-May-11 21:03
od@ananzi.co.za24-May-11 21:03 
AnswerRe: Weird ::CopyFile problem Pin
ShilpiP24-May-11 21:15
ShilpiP24-May-11 21:15 
GeneralRe: Weird ::CopyFile problem Pin
od@ananzi.co.za24-May-11 21:25
od@ananzi.co.za24-May-11 21:25 
GeneralRe: Weird ::CopyFile problem Pin
ShilpiP24-May-11 21:38
ShilpiP24-May-11 21:38 
GeneralRe: Weird ::CopyFile problem Pin
od@ananzi.co.za24-May-11 21:43
od@ananzi.co.za24-May-11 21:43 
GeneralRe: Weird ::CopyFile problem Pin
ShilpiP24-May-11 22:19
ShilpiP24-May-11 22:19 
Error code 5 means access denied. I am not sure why this error comes.
I don't know it is working or not but before copying the file into the target file, Delete the target file using "DeleteFile".
DeleteFile(strTargetPath);
CopyFile(strSourcePath,strTargetPath,FALSE);

"Every Little Smile can touch Somebody's Heart...
May we find Hundreds of Reasons to Smile Everyday... and
May WE be the Reason for someone else to smile always!" (ICAN)

"Your thoughts are the architects of your destiny."

GeneralRe: Weird ::CopyFile problem Pin
smags1325-May-11 10:28
smags1325-May-11 10:28 
GeneralRe: Weird ::CopyFile problem Pin
od@ananzi.co.za24-May-11 21:38
od@ananzi.co.za24-May-11 21:38 
QuestionIdentifying a currently running application Pin
pix_programmer24-May-11 18:31
pix_programmer24-May-11 18:31 
AnswerRe: Identifying a currently running application Pin
pandit8424-May-11 18:43
pandit8424-May-11 18:43 
GeneralRe: Identifying a currently running application Pin
pix_programmer24-May-11 18:53
pix_programmer24-May-11 18:53 
GeneralRe: Identifying a currently running application Pin
ShilpiP24-May-11 19:09
ShilpiP24-May-11 19:09 
GeneralRe: Identifying a currently running application Pin
pix_programmer24-May-11 20:34
pix_programmer24-May-11 20:34 
GeneralRe: Identifying a currently running application Pin
ShilpiP24-May-11 20:42
ShilpiP24-May-11 20:42 
GeneralRe: Identifying a currently running application Pin
pix_programmer24-May-11 21:10
pix_programmer24-May-11 21:10 
GeneralRe: Identifying a currently running application Pin
ShilpiP24-May-11 21:29
ShilpiP24-May-11 21:29 
GeneralRe: Identifying a currently running application Pin
Abhi Lahare26-May-11 8:38
Abhi Lahare26-May-11 8:38 
QuestionWM_NOTIFY to control itself Pin
includeh1024-May-11 10:22
includeh1024-May-11 10:22 
AnswerRe: WM_NOTIFY to control itself Pin
Mark Salsbery24-May-11 10:43
Mark Salsbery24-May-11 10:43 
GeneralRe: WM_NOTIFY to control itself Pin
includeh1024-May-11 11:39
includeh1024-May-11 11:39 
AnswerRe: WM_NOTIFY to control itself Pin
Code-o-mat24-May-11 11:41
Code-o-mat24-May-11 11:41 
GeneralRe: WM_NOTIFY to control itself Pin
includeh1024-May-11 12:33
includeh1024-May-11 12:33 
Questioninit message for control's subclass of a dialog Pin
includeh1024-May-11 10:16
includeh1024-May-11 10: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.