Click here to Skip to main content
15,887,135 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionReg Dll Pin
john563231-Oct-07 0:00
john563231-Oct-07 0:00 
AnswerRe: Reg Dll Pin
CPallini31-Oct-07 1:01
mveCPallini31-Oct-07 1:01 
AnswerRe: Reg Dll Pin
Karismatic31-Oct-07 1:02
Karismatic31-Oct-07 1:02 
AnswerRe: Reg Dll Pin
Paresh Chitte31-Oct-07 2:05
Paresh Chitte31-Oct-07 2:05 
Questionhow to save the messages from mobile to PC Pin
pushkar_j31-Oct-07 0:00
pushkar_j31-Oct-07 0:00 
QuestionHi All, I have to write a code in VC++ , to convert *.ppt file to *.jpg file,can you tell me how can i do it????? Pin
anchorwang30-Oct-07 23:56
anchorwang30-Oct-07 23:56 
AnswerRe: Hi All, I have to write a code in VC++ , to convert *.ppt file to *.jpg file,can you tell me how can i do it????? Pin
Karismatic31-Oct-07 1:06
Karismatic31-Oct-07 1:06 
AnswerRe: Hi All, I have to write a code in VC++ , to convert *.ppt file to *.jpg file,can you tell me how can i do it????? Pin
David Crow31-Oct-07 2:50
David Crow31-Oct-07 2:50 
Saving a PPT file as a JPG file will go something like:

CString strFileName = "abc.ppt";
_Application app;
_Presentation pres;
COleVariant vtFalse((short) FALSE),
            vtOptional((long) DISP_E_PARAMNOTFOUND, VT_ERROR), 
            vtJpg((short) 17);
 
if (app.CreateDispatch("PowerPoint.Application") == TRUE)
{
    pres = presentations.Open(COleVariant(strFileName), vtOptional, vtOptional, vtOptional);
 
    strFileName.Replace(".ppt", ".jpg");
 
    pres.SaveAs(COleVariant(strFileName), vtJpg, vtOptional);
 
    docs.Close(vtFalse, vtOptional, vtOptional);
 
    app.Quit(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


GeneralRe: Hi All, I have to write a code in VC++ , to convert *.ppt file to *.jpg file,can you tell me how can i do it????? Pin
anchorwang31-Oct-07 16:14
anchorwang31-Oct-07 16:14 
GeneralRe: Hi All, I have to write a code in VC++ , to convert *.ppt file to *.jpg file,can you tell me how can i do it????? Pin
David Crow1-Nov-07 2:40
David Crow1-Nov-07 2:40 
QuestionToolTip for comboBox Pin
sheshidar30-Oct-07 23:56
sheshidar30-Oct-07 23:56 
QuestionVirtual function & VPTR issue Pin
Neo Andreson30-Oct-07 23:52
Neo Andreson30-Oct-07 23:52 
AnswerRe: Virtual function & VPTR issue Pin
Paresh Chitte31-Oct-07 2:18
Paresh Chitte31-Oct-07 2:18 
Questionhow to scroll MSflexgrid? Pin
panthal30-Oct-07 23:47
panthal30-Oct-07 23:47 
AnswerRe: how to scroll MSflexgrid? Pin
chandu00431-Oct-07 2:08
chandu00431-Oct-07 2:08 
GeneralRe: how to scroll MSflexgrid?[SOLVED] Pin
panthal31-Oct-07 2:23
panthal31-Oct-07 2:23 
GeneralRe: how to scroll MSflexgrid?[SOLVED] Pin
chandu00431-Oct-07 2:37
chandu00431-Oct-07 2:37 
QuestionScroll Position in Flexgrid Pin
Shivarudrayya H30-Oct-07 23:41
Shivarudrayya H30-Oct-07 23:41 
AnswerRe: Scroll Position in Flexgrid Pin
chandu00431-Oct-07 2:15
chandu00431-Oct-07 2:15 
AnswerRe: Scroll Position in Flexgrid Pin
panthal31-Oct-07 2:20
panthal31-Oct-07 2:20 
QuestionHow to make CList inside CList Pin
manish.patel30-Oct-07 23:39
manish.patel30-Oct-07 23:39 
AnswerRe: How to make CList inside CList Pin
Nelek30-Oct-07 23:43
protectorNelek30-Oct-07 23:43 
GeneralRe: How to make CList inside CList Pin
manish.patel31-Oct-07 0:13
manish.patel31-Oct-07 0:13 
GeneralRe: How to make CList inside CList Pin
Roger Broomfield31-Oct-07 0:41
Roger Broomfield31-Oct-07 0:41 
GeneralRe: How to make CList inside CList Pin
Nelek31-Oct-07 1:30
protectorNelek31-Oct-07 1:30 

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.