 |
|
 |
I'd like to get the CWnd pointer of the slide view window by
CWnd * win = (CWnd*) CWnd::FromIDispatch( m_slideShowWindow.m_lpDispatch) ;
But win always get NULL.
Why?
Is there any hint to get the slide show view window?
Thanks alot.
|
|
|
|
 |
|
 |
I am interested your project, can you provide source code for me?
thank you very much.
my e-mail: squall0114@gmail.com
|
|
|
|
 |
|
|
 |
|
 |
Hello
If you came here because you are looking for a tool to dynamically create PowerPoint presentations,
then have at look at this article:
PowerPointCreator[^]
# This C# (VS 2003) project creates PowerPoint presentations based on XML templates which are filled with dynamic data.
# The documents are created from the scratch. You can also add new slides into an existing presentation.
# You can use this project to create Reports on a weekly or monthly basis which display content from a database in a PowerPoint presentation.
# You can insert dynamic text, tables and pictures,... into the PPP document.
# The created documents can be played on PowerPoint 2002 up to 2007 (XP). They also play on PowerPoint 97 with restrictions.
Elmü
|
|
|
|
 |
|
 |
The .ppt file is opened in one independant Microsoft window in this example,but I want to embed it in our own window or view,how to implement it?
|
|
|
|
 |
|
 |
Hi,
I am using a mfc application to automate powerpoint slide show.The code works perfectly until there is no inbuilt transition timing in the powerpoint file.When there is inbuilt timing set then if i want to go to next slide only then the slide show gets started and ends up at the last slide of the show.
Can anybody please help how to solve this problem?
|
|
|
|
 |
|
 |
this is my code i want to set activ printer what can i fix in this code?
int CAxx::InitAutomation (char* strFilepath)
{
if(!m_app.CreateDispatch("Powerpoint.Application"))
{
AfxMessageBox("Couldn't start PowerPoint.");
}
else
{
m_app.SetVisible(TRUE);
TRACE("PowerPoint is Running!");
}
m_Presentations = m_app.GetPresentations();
m_Presentation = m_Presentations.Open(strFilepath,1,0,1);
CString PrintToFileName="c:\\pstestPPt.Ps";
PrintOptions act;
//lpDisp= m_Presentation.GetPrintOptions ();
act.SetActivePrinter ("PS Printer");
m_Presentation.PrintOut(1,NULL, PrintToFileName,NULL,NULL);
m_app.Quit ();
return 1;
}
|
|
|
|
 |
|
 |
Kindly help me or give me a clue , how can i convert series of ppt slides in abc.ppt to n-number of jpg files. one slide=one jpg file??
programatically using vc++
thanks in advance
Regards
Sandeep
fsdfasdfasdfadsfasdfasd
|
|
|
|
 |
|
 |
Hi,
How do I turn on/off the multiple monitors support in powerpoint 2003, using automation.
there r functions for setting the show type like - SetShowType
but I am unable to find a similar function for setting the multiple monitors option.
the typelib i am using is MSPPT.OLB, which comes with office11 (ms office 2003).
If anybody has tried doing this... with success... please share ur experience...
Regards
Manoj
|
|
|
|
 |
|
 |
i want to convert a powerpoint office 97 to images slide, but i cann't
|
|
|
|
 |
|
 |
how can I set the application(powerpoint) invisible when I click the start! I try the function _App::SetVisible, but failed! where can I find the interface specifications? Can anyone help? Thanks very much.
|
|
|
|
 |
|
 |
I don't have a msppt8.h on my computer (or other Office headers, for that matter). How do you get this header file, and is there any general documentation on how to use it?
I've tried searching online for where to download these, as well as documentation, but I've had a hard time finding results. Pretty much all the sites I've found explain how to do Office automation, and they all reference these header files, but I haven't found a site that tells where to download them. I'd expect Microsoft at least to have some documentation or a page for downloading an SDK or something with these Office headers, but I haven't had any luck there either.
|
|
|
|
 |
|
 |
Make that file(msppt8.h) yourself.
Add class that MFC class of typelib of template type
microsoft office/office11/msppt.olb
=> Add need interface, and you can change interface file name(msppt8.h)
1
|
|
|
|
 |
|
 |
How do I do the reverse: get PowerPoint to call my application (OLE/COM etc), so my output can appear in a PPT slide?
In other words, PPT is the client, and my program is the component/server.
Thank you muchly.
|
|
|
|
 |
|
 |
Could you please Help me ? I want to read data from ms office documents. For instance, i would like
to extract text and images (pictures) from a word documents using automation and C++ or VC++.
If you could tell what structures should i use, and header files.
Thanks for you
PS : you could send me your explanation to my e-mai : hoan_vacnew@yahoo.com
|
|
|
|
 |
|
 |
Use following interfaces
IStorage , IStream etc.
Try to query for these interfaces from IDispatch of office application
Might be it will help !
Regards,
Vishal More
|
|
|
|
 |
|
 |
Really good and clean article!
Do anyone know how to get tips of examples how to master Outlook.
Guess I should import typelib: MSOUTL9.OLB
But it's easier if I could read about things to do instead of just trying..
Thanks
_____________________________
...and justice for all
APe
|
|
|
|
 |
|
 |
Hello,
I found your script very interesting but I don't know how to realize the 4 first steps!!!
I'm quite good in english but I don't well understand what you mean when you write: "Create a dialog based application and in the App-wizard's step 3 of 6, select the automation checkbox" if you could give me more details...
Thank you
MAx
|
|
|
|
 |
|
 |
I am using similiar code to automate PowerPoint - (my application creates a slide).
Before I provide the menu choices that allow for this automation, I check if PowerPoint is installed with the following code
bool CheckPpt()
{
_Application app; // app is the PowerPoint _Application object
if(!app.CreateDispatch("Powerpoint.Application")) {//no ppt or problems
return false;
}
app.ReleaseDispatch();
return true;
}
Everything works as expected - when powerpoint is not running. However if there is an instance running - most of the time following code takes 30 seconds - sometimes it returns quickly. I have put a trace to time this - and when it is delayed it takes exactly 30 seconds. Is there a way to avoid this - as this is done early in the app to decide on features, users think that the application is 'hung'
|
|
|
|
 |
|
 |
hi,
where can i fine msppt8.h? i have office 2003. Please guide.
I want to ceraet a ppt programmatically through VC++ MFC. Please help me out.
Thanks a lot in advance.
Regards
Himanshu
|
|
|
|
 |
|
 |
I want to display the slide in a preview window. I am using VC++.
How can i do that?
|
|
|
|
 |
|
 |
When you install Microsoft Office on the machine (Word , Outlook) and using Outlook , for creating new messages you can user Microsoft Word editor (the same thing when you create new document of Microsoft Word you can select E-mail message) . Can you explain how can be open programmically this Microsoft Word Editor for E-Mail messages ? I think that connect with global templates , but I can't find such templates .
I've used VC++ .
|
|
|
|
 |
|
 |
I'd like to know how to get the note of a slide while opening a ppt file
thanks
|
|
|
|
 |
|
 |
Hi,
Does anybody know if, when I run the SlideShow is it possible to take the output that powerpoint produces i.e. the slide show window and redirect this.
Instead of powerpoint being responsible for sending the slide to a window or to the projector, I now want to be able to control this.
Any ideas or links.
PLEASE!
Cheers
/Shane.;)
|
|
|
|
 |
|
 |
how to replace MS Office file content But its formats aren't change
Thanks
Jason Chang
tmsnhien@yahoo.com
|
|
|
|
 |