Click here to Skip to main content
15,889,863 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: far Pointer Pin
toxcct8-Jan-08 23:23
toxcct8-Jan-08 23:23 
GeneralRe: far Pointer Pin
tasumisra9-Jan-08 0:55
tasumisra9-Jan-08 0:55 
QuestionHow to convert .txt(ASCII) to MS Word file Pin
rajeevktripathi8-Jan-08 23:12
rajeevktripathi8-Jan-08 23:12 
GeneralRe: How to convert .txt(ASCII) to MS Word file Pin
Rajesh R Subramanian8-Jan-08 23:15
professionalRajesh R Subramanian8-Jan-08 23:15 
GeneralRe: How to convert .txt(ASCII) to MS Word file Pin
CPallini8-Jan-08 23:21
mveCPallini8-Jan-08 23:21 
GeneralRe: How to convert .txt(ASCII) to MS Word file Pin
Rajesh R Subramanian8-Jan-08 23:27
professionalRajesh R Subramanian8-Jan-08 23:27 
QuestionRe: How to convert .txt(ASCII) to MS Word file Pin
rajeevktripathi9-Jan-08 0:22
rajeevktripathi9-Jan-08 0:22 
GeneralRe: How to convert .txt(ASCII) to MS Word file Pin
Rajesh R Subramanian9-Jan-08 0:39
professionalRajesh R Subramanian9-Jan-08 0:39 
It is just one line of code.
CFile::Rename(_T("E:\\myfile.txt"), _T("E:\\myfile.doc"));


Keep it in mind that you are just renaming a file and you actually haven't done the conversion. It is perfectly safe in this case since MS Word will handle it. It won't work the other way round.


Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
...formerly known as brahmma
Codeproject.com: Visual C++ MVP

GeneralRe: How to convert .txt(ASCII) to MS Word file Pin
KarstenK9-Jan-08 1:26
mveKarstenK9-Jan-08 1:26 
GeneralRe: How to convert .txt(ASCII) to MS Word file Pin
Rajesh R Subramanian9-Jan-08 5:41
professionalRajesh R Subramanian9-Jan-08 5:41 
GeneralRe: How to convert .txt(ASCII) to MS Word file Pin
CPallini9-Jan-08 0:45
mveCPallini9-Jan-08 0:45 
GeneralRe: How to convert .txt(ASCII) to MS Word file Pin
Rajesh R Subramanian9-Jan-08 0:47
professionalRajesh R Subramanian9-Jan-08 0:47 
QuestionRe: How to convert .txt(ASCII) to MS Word file Pin
CPallini9-Jan-08 0:55
mveCPallini9-Jan-08 0:55 
GeneralRe: How to convert .txt(ASCII) to MS Word file Pin
Rajesh R Subramanian9-Jan-08 21:29
professionalRajesh R Subramanian9-Jan-08 21:29 
GeneralRe: How to convert .txt(ASCII) to MS Word file [modified] Pin
CPallini9-Jan-08 21:41
mveCPallini9-Jan-08 21:41 
GeneralRe: How to convert .txt(ASCII) to MS Word file Pin
Rajesh R Subramanian9-Jan-08 21:51
professionalRajesh R Subramanian9-Jan-08 21:51 
GeneralRe: How to convert .txt(ASCII) to MS Word file Pin
CPallini9-Jan-08 22:23
mveCPallini9-Jan-08 22:23 
GeneralRe: How to convert .txt(ASCII) to MS Word file Pin
David Crow9-Jan-08 3:03
David Crow9-Jan-08 3:03 
QuestionHow to find wether a component is registered in regedit or not Pin
bhogavalli suresh8-Jan-08 23:10
bhogavalli suresh8-Jan-08 23:10 
AnswerRe: How to find wether a component is registered in regedit or not [modified] Pin
CPallini8-Jan-08 23:17
mveCPallini8-Jan-08 23:17 
AnswerRe: How to find wether a component is registered in regedit or not Pin
David Crow9-Jan-08 3:06
David Crow9-Jan-08 3:06 
GeneralFiles listed in windows MRU using VC++ Pin
Nitheesh George8-Jan-08 22:42
Nitheesh George8-Jan-08 22:42 
GeneralRe: Files listed in windows MRU using VC++ Pin
Rajesh R Subramanian8-Jan-08 23:13
professionalRajesh R Subramanian8-Jan-08 23:13 
Questionenabling and disabling ethernet connection using c++ Pin
tassadaque8-Jan-08 22:36
tassadaque8-Jan-08 22:36 
GeneralRe: enabling and disabling ethernet connection using c++ Pin
Maxwell Chen8-Jan-08 23:24
Maxwell Chen8-Jan-08 23: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.