Click here to Skip to main content
15,923,852 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Transferring CE Applications to the Desktop Pin
Ancient Dragon14-Aug-02 0:07
Ancient Dragon14-Aug-02 0:07 
GeneralExporting to Excel, Powerpoint, etc.... Pin
Carlos Antollini13-Aug-02 4:26
Carlos Antollini13-Aug-02 4:26 
GeneralCFileDialog - Changing file types in runtime Pin
Ixion13-Aug-02 4:18
Ixion13-Aug-02 4:18 
GeneralFluid fast motion Pin
Vitaly Belman13-Aug-02 3:48
Vitaly Belman13-Aug-02 3:48 
GeneralRe: Fluid fast motion Pin
Brian Azzopardi13-Aug-02 3:52
Brian Azzopardi13-Aug-02 3:52 
GeneralRe: Fluid fast motion Pin
Tomasz Sowinski13-Aug-02 3:59
Tomasz Sowinski13-Aug-02 3:59 
GeneralRe: Fluid fast motion Pin
Jon Hulatt13-Aug-02 5:39
Jon Hulatt13-Aug-02 5:39 
Generalquick file question... Pin
Nitron13-Aug-02 3:34
Nitron13-Aug-02 3:34 
How do I check if a file exists or not? I have tried the following:
<br />
   CString f, msg;<br />
<br />
   f = __argv[i];<br />
   ifstream infile(f);<br />
   <br />
   if(!infile)<br />
   {<br />
	msg.Format("Could not open: %s",f);<br />
	AfxMessageBox(msg);<br />
   }<br />
<br />
   else<br />
        AfxMessageBox("file opened");


But if the file doesn't exist, it just makes one!!! Any input is appreciated. Thanks!

Nitron
_________________________________________--
message sent on 100% recycled electrons.
GeneralRe: quick file question... Pin
Tomasz Sowinski13-Aug-02 3:44
Tomasz Sowinski13-Aug-02 3:44 
GeneralTHANK YOU!!! Pin
Nitron13-Aug-02 3:58
Nitron13-Aug-02 3:58 
GeneralRe: quick file question... Pin
Roman Fadeyev13-Aug-02 3:47
Roman Fadeyev13-Aug-02 3:47 
GeneralRe: quick file question... Pin
Christian Graus13-Aug-02 4:06
protectorChristian Graus13-Aug-02 4:06 
GeneralRe: quick file question... Pin
Space Ace13-Aug-02 4:16
Space Ace13-Aug-02 4:16 
GeneralRe: quick file question... Pin
Chris Losinger13-Aug-02 5:26
professionalChris Losinger13-Aug-02 5:26 
Generalideas and recomendation for distributed application Pin
tongc13-Aug-02 3:28
tongc13-Aug-02 3:28 
GeneralRe: ideas and recomendation for distributed application Pin
Brian Azzopardi13-Aug-02 3:54
Brian Azzopardi13-Aug-02 3:54 
GeneralRe: ideas and recomendation for distributed application Pin
Christopher Lord13-Aug-02 7:38
Christopher Lord13-Aug-02 7:38 
GeneralWM_RBUTTONDOWN & WM_RBUTTONUP question... Pin
Alek13-Aug-02 3:30
Alek13-Aug-02 3:30 
GeneralThe object invoked has disconnected from its client... AAAAAAHHHH ! Pin
Braulio Dez13-Aug-02 2:56
Braulio Dez13-Aug-02 2:56 
QuestionNetwork monitoring - an easy way? Pin
helsten213-Aug-02 2:50
helsten213-Aug-02 2:50 
GeneralRe: Window Size Gone!!!! Pin
Jon Hulatt13-Aug-02 2:31
Jon Hulatt13-Aug-02 2:31 
GeneralSpawning another application Pin
[CoY0te]13-Aug-02 1:55
[CoY0te]13-Aug-02 1:55 
GeneralRe: Spawning another application Pin
Tomasz Sowinski13-Aug-02 2:01
Tomasz Sowinski13-Aug-02 2:01 
GeneralRe: Spawning another application Pin
[CoY0te]13-Aug-02 2:33
[CoY0te]13-Aug-02 2:33 
GeneralRe: Spawning another application Pin
Ranjan Banerji13-Aug-02 2:24
Ranjan Banerji13-Aug-02 2:24 

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.