Click here to Skip to main content
15,881,882 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to remove the "0" from the starting i.e. from the left of the CString Pin
deadlyabbas24-May-11 22:20
deadlyabbas24-May-11 22:20 
AnswerRe: How to remove the "0" from the starting i.e. from the left of the CString Pin
Prasann Mayekar24-May-11 22:24
Prasann Mayekar24-May-11 22:24 
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 
od@ananzi.co.za wrote:
It sometimes returns TRUE , but still copies the file into the empty sub-folder

It sometimes returns FALSE, but still copies the file into the empty sub-folder, GetLastError then returns 5

Confused | :confused:

If GetLastError returns 5 than it means Access Denied. You do not have rights to copy data in Program folder.
1) Run your application as admin or
2) Change the property "UAC Execution Level" -> "asInvoker" to "requireAdministrator".
"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
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 
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 

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.