Click here to Skip to main content
15,915,164 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
Can you use Word Automation like:

COleVariant     vtOptional((long) DISP_E_PARAMNOTFOUND, VT_ERROR), 
                vtDoc((short) 0);
 
if (app.CreateDispatch("Word.Application") == TRUE)
{
    docs = app.GetDocuments();
 
    CString strFileName = "myfile.txt";
 
    doc = docs.Open(COleVariant(strFileName), 
                    vtOptional, vtOptional, vtOptional, 
                    vtOptional, vtOptional, vtOptional, 
                    vtOptional, vtOptional, vtOptional, 
                    vtOptional, vtOptional);
 
    strFileName.Replace(".txt", ".doc");
 
    doc.SaveAs(COleVariant(strFileName), vtDoc, 
               vtOptional, vtOptional, vtOptional,
               vtOptional, vtOptional, vtOptional,  
               vtOptional, vtOptional, vtOptional);
}


"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne


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 

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.