Click here to Skip to main content
15,903,388 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Get out of infinite loop question! Pin
Tim Smith31-Jan-05 13:44
Tim Smith31-Jan-05 13:44 
Questionhow to add a menu to a CDialogBar Pin
vieira_alice31-Jan-05 5:51
vieira_alice31-Jan-05 5:51 
AnswerRe: how to add a menu to a CDialogBar Pin
JohnCz31-Jan-05 14:19
JohnCz31-Jan-05 14:19 
GeneralUndo Pin
act_x31-Jan-05 5:41
act_x31-Jan-05 5:41 
GeneralRe: Undo Pin
PJ Arends31-Jan-05 6:07
professionalPJ Arends31-Jan-05 6:07 
GeneralRe: Undo Pin
Maximilien31-Jan-05 6:47
Maximilien31-Jan-05 6:47 
GeneralProblem with file output Pin
RealityGamma31-Jan-05 5:29
sussRealityGamma31-Jan-05 5:29 
GeneralRe: Problem with file output Pin
PJ Arends31-Jan-05 6:18
professionalPJ Arends31-Jan-05 6:18 
If you only specify the file name, not the entire path as you are doing, then the file will be opened in the current working directory which is not necessarily the same as app's installed directory. To ensure the file is saved in the directory you want it in always specify the full path.

You can use GetModuleFileName() to get the path to the exe.



"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

"Obviously ???  You're definitely a superstar!!!" mYkel - 21 Jun '04

Within you lies the power for good - Use it!
Honoured as one of The Most Helpful Members of 2004

GeneralRe: Problem with file output Pin
RealityGamma31-Jan-05 7:34
sussRealityGamma31-Jan-05 7:34 
GeneralRe: Problem with file output Pin
David Crow31-Jan-05 9:23
David Crow31-Jan-05 9:23 
GeneralAfxBeginThread, Thread Pool and RUNTIME_CLASS Pin
Turtle Hand31-Jan-05 4:22
Turtle Hand31-Jan-05 4:22 
GeneralRe: AfxBeginThread, Thread Pool and RUNTIME_CLASS Pin
PJ Arends31-Jan-05 6:03
professionalPJ Arends31-Jan-05 6:03 
GeneralAutomating MS Access Pin
mcsherry31-Jan-05 4:00
mcsherry31-Jan-05 4:00 
GeneralRe: Automating MS Access Pin
David Crow31-Jan-05 4:29
David Crow31-Jan-05 4:29 
GeneralRe: Automating MS Access Pin
mcsherry31-Jan-05 21:44
mcsherry31-Jan-05 21:44 
GeneralRe: Automating MS Access Pin
David Crow1-Feb-05 3:21
David Crow1-Feb-05 3:21 
GeneralRe: Automating MS Access Pin
Bob Flynn31-Jan-05 5:25
Bob Flynn31-Jan-05 5:25 
QuestionIs this possbile??? Pin
rlepine31-Jan-05 3:26
rlepine31-Jan-05 3:26 
AnswerRe: Is this possbile??? Pin
User 665831-Jan-05 3:40
User 665831-Jan-05 3:40 
GeneralRe: Is this possbile??? Pin
rlepine31-Jan-05 3:45
rlepine31-Jan-05 3:45 
AnswerRe: Is this possbile??? Pin
David Crow31-Jan-05 3:52
David Crow31-Jan-05 3:52 
GeneralRe: Is this possbile??? Pin
rlepine31-Jan-05 3:58
rlepine31-Jan-05 3:58 
Generalmaintaining layout of window Pin
doneirik31-Jan-05 2:36
doneirik31-Jan-05 2:36 
GeneralRe: maintaining layout of window Pin
Maximilien31-Jan-05 2:42
Maximilien31-Jan-05 2:42 
GeneralRe: maintaining layout of window Pin
BlackDice31-Jan-05 5:45
BlackDice31-Jan-05 5:45 

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.