Click here to Skip to main content
15,921,530 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralChanging Version Info in EXE Files Pin
Steve Thresher17-Sep-03 1:58
Steve Thresher17-Sep-03 1:58 
GeneralRe: Changing Version Info in EXE Files Pin
Jagadeesh VN17-Sep-03 2:12
Jagadeesh VN17-Sep-03 2:12 
GeneralRe: Changing Version Info in EXE Files Pin
Steve Thresher17-Sep-03 2:56
Steve Thresher17-Sep-03 2:56 
GeneralRe: Changing Version Info in EXE Files Pin
Jagadeesh VN17-Sep-03 3:04
Jagadeesh VN17-Sep-03 3:04 
GeneralRe: Changing Version Info in EXE Files Pin
Steve Thresher17-Sep-03 4:40
Steve Thresher17-Sep-03 4:40 
GeneralRe: Changing Version Info in EXE Files Pin
FearlessBurner17-Sep-03 3:46
FearlessBurner17-Sep-03 3:46 
GeneralDelete a complete folder Pin
peterchen17-Sep-03 1:50
peterchen17-Sep-03 1:50 
GeneralRe: Delete a complete folder Pin
Jagadeesh VN17-Sep-03 2:37
Jagadeesh VN17-Sep-03 2:37 
RemoveDirectory() deletes a folder, but the folder has to be empty. This code should do the trick :

void DeleteFolder(const CString & strFolder)
{
CFileFind finder;

if (finder.FindFile())
{
while (finder.FindNextFile())
{
if (!finder.IsDots())
{
if (finder.IsDirectory())
{
// Folder - recursively delete it
DeleteFolder(finder.GetFilePath());
}
else
{
// File - delete it
DeleteFile(finder.GetFilePath());
}
}
}
}

// And delete the folder
RemoveDirectory(strFolder);
}


"A robust program is resistant to errors -- it either works correctly, or it does not work at all; whereas a fault tolerant program must actually recover from errors."
GeneralRe: Delete a complete folder Pin
David Crow17-Sep-03 2:41
David Crow17-Sep-03 2:41 
GeneralUse .net WebService from a Visual C++ 6.0 Application Pin
Braulio Dez17-Sep-03 1:01
Braulio Dez17-Sep-03 1:01 
QuestionSetWindowLong using a class member function? Pin
Harco17-Sep-03 0:59
Harco17-Sep-03 0:59 
AnswerRe: SetWindowLong using a class member function? Pin
Jagadeesh VN17-Sep-03 1:21
Jagadeesh VN17-Sep-03 1:21 
GeneralRe: SetWindowLong using a class member function? Pin
Harco17-Sep-03 4:24
Harco17-Sep-03 4:24 
AnswerRe: SetWindowLong using a class member function? Pin
David Crow17-Sep-03 2:43
David Crow17-Sep-03 2:43 
Generalcontrol mouse Pin
Ta_Tee47317-Sep-03 0:22
Ta_Tee47317-Sep-03 0:22 
QuestionMFC is a STA assisted code? Pin
vgrigor16-Sep-03 23:31
vgrigor16-Sep-03 23:31 
AnswerRe: MFC is a STA assisted code? Pin
Jagadeesh VN17-Sep-03 0:57
Jagadeesh VN17-Sep-03 0:57 
AnswerRe: MFC is a STA assisted code? Pin
Jagadeesh VN17-Sep-03 1:11
Jagadeesh VN17-Sep-03 1:11 
GeneralRe: MFC is a STA assisted code? Pin
vgrigor17-Sep-03 1:25
vgrigor17-Sep-03 1:25 
GeneralRe: MFC is a STA assisted code? Pin
Jagadeesh VN17-Sep-03 1:33
Jagadeesh VN17-Sep-03 1:33 
GeneralRe: MFC is a STA assisted code? Pin
vgrigor17-Sep-03 1:49
vgrigor17-Sep-03 1:49 
GeneralRe: MFC is a STA assisted code? Pin
Jagadeesh VN17-Sep-03 1:50
Jagadeesh VN17-Sep-03 1:50 
GeneralRe: MFC is a STA assisted code? Pin
Jagadeesh VN17-Sep-03 1:56
Jagadeesh VN17-Sep-03 1:56 
GeneralRe: MFC is a STA assisted code? Pin
vgrigor17-Sep-03 1:59
vgrigor17-Sep-03 1:59 
GeneralRe: MFC is a STA assisted code? Pin
Jagadeesh VN17-Sep-03 2:08
Jagadeesh VN17-Sep-03 2:08 

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.