Click here to Skip to main content
15,916,702 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: TJFTP linking problem Pin
Hamid_RT16-Jun-07 9:27
Hamid_RT16-Jun-07 9:27 
Questionreading file failed.... Pin
Y_Kaushik16-Jun-07 0:01
Y_Kaushik16-Jun-07 0:01 
AnswerRe: reading file failed.... Pin
neha.agarwal2716-Jun-07 1:21
neha.agarwal2716-Jun-07 1:21 
GeneralRe: reading file failed.... Pin
Y_Kaushik16-Jun-07 1:34
Y_Kaushik16-Jun-07 1:34 
GeneralRe: reading file failed.... Pin
neha.agarwal2716-Jun-07 1:44
neha.agarwal2716-Jun-07 1:44 
GeneralRe: reading file failed.... Pin
Y_Kaushik16-Jun-07 2:08
Y_Kaushik16-Jun-07 2:08 
GeneralRe: reading file failed.... Pin
neha.agarwal2716-Jun-07 2:50
neha.agarwal2716-Jun-07 2:50 
GeneralRe: reading file failed.... Pin
Y_Kaushik16-Jun-07 3:36
Y_Kaushik16-Jun-07 3:36 
Sir Ji I am very near for solving this problem ( Actually i am making such type of thing first time )

if i wrote this code

CString fname;
fname = fileObj.GetFileName();
MessageBox(fname);
it will be show file name

when i write

fileObj.Open("c:\\UserFolder\\temp.txt",CFile::modeCreate,NULL);

i can create file successfully

But in that case

fileObj.Open("c:\\UserFolder\\fname.txt",CFile::modeCreate,NULL);

file name become fname (Not actual file name) Why??

How can we read contant of old file and copy to new one simultaniously..


can you give me some hint regarding this .












Regard's
Kaushik

GeneralRe: reading file failed.... Pin
David Crow18-Jun-07 2:56
David Crow18-Jun-07 2:56 
QuestionCalling a Function in CMainFrame Pin
Abhijeet Pathak15-Jun-07 22:56
Abhijeet Pathak15-Jun-07 22:56 
AnswerRe: Calling a Function in CMainFrame Pin
StevenS_Dev16-Jun-07 6:07
StevenS_Dev16-Jun-07 6:07 
QuestionRe: Calling a Function in CMainFrame Pin
Abhijeet Pathak17-Jun-07 0:16
Abhijeet Pathak17-Jun-07 0:16 
AnswerRe: Calling a Function in CMainFrame [modified] Pin
Abhijeet Pathak17-Jun-07 0:21
Abhijeet Pathak17-Jun-07 0:21 
GeneralRe: Calling a Function in CMainFrame Pin
StevenS_Dev17-Jun-07 11:29
StevenS_Dev17-Jun-07 11:29 
GeneralRe: Calling a Function in CMainFrame Pin
StevenS_Dev17-Jun-07 11:32
StevenS_Dev17-Jun-07 11:32 
GeneralRe: Calling a Function in CMainFrame Pin
David Crow18-Jun-07 2:39
David Crow18-Jun-07 2:39 
QuestionDetecting Windowless Applications that are "not responding" Pin
mariodr15-Jun-07 22:04
mariodr15-Jun-07 22:04 
Questioncube class Pin
gentleguy15-Jun-07 21:39
gentleguy15-Jun-07 21:39 
AnswerRe: cube class Pin
Christian Graus15-Jun-07 22:00
protectorChristian Graus15-Jun-07 22:00 
JokeRe: cube class Pin
Cedric Moonen16-Jun-07 0:10
Cedric Moonen16-Jun-07 0:10 
GeneralRe: cube class Pin
Kevin McFarlane16-Jun-07 0:59
Kevin McFarlane16-Jun-07 0:59 
JokeRe: cube class Pin
Hamid_RT16-Jun-07 9:18
Hamid_RT16-Jun-07 9:18 
AnswerRe: cube class Pin
Hamid_RT16-Jun-07 9:19
Hamid_RT16-Jun-07 9:19 
QuestionDestroy the memory Pin
Anu_Bala15-Jun-07 20:18
Anu_Bala15-Jun-07 20:18 
AnswerRe: Destroy the memory Pin
Mark Salsbery16-Jun-07 6:55
Mark Salsbery16-Jun-07 6:55 

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.