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

C / C++ / MFC

 
QuestionWMI problem Pin
Jacobkingsly8-Jan-08 23:15
Jacobkingsly8-Jan-08 23:15 
QuestionRe: WMI problem Pin
CPallini9-Jan-08 0:54
mveCPallini9-Jan-08 0:54 
GeneralRe: WMI problem Pin
Jacobkingsly5-Feb-08 21:43
Jacobkingsly5-Feb-08 21:43 
QuestionRe: WMI problem Pin
David Crow9-Jan-08 2:57
David Crow9-Jan-08 2:57 
GeneralRe: WMI problem Pin
Jacobkingsly5-Feb-08 21:42
Jacobkingsly5-Feb-08 21:42 
Generalfar Pointer Pin
tasumisra8-Jan-08 23:12
tasumisra8-Jan-08 23:12 
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 

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.