?
Solved

I would like to know where I can get the documentation of ,Microsoft Powerpoint API

Posted on 2009-04-06
3
Medium Priority
?
178 Views
Last Modified: 2013-11-25
Hello experts,

I have a question in Powerpoint API. I am opening a powerpoint using COM programming as follows

    CComPtr<PowerPoint::Presentations> presentations;
/* pptApplication is already set to valid pointer */
hr = pptApplication->get_Presentations(&presentations);

    CComPtr<PowerPoint::_Presentation> thePresentation;
    hr = presentations->Open((BSTR)szFileName, msoTrue, msoFalse, msoTrue, &thePresentation);
/* thePresentation is returned as NULL for some test case*/
 BSTR szName;
    hr = thePresentation->get_Name(&szName);
/* szName is returned as NULL  for some test case */

I would like to know where I can get the documentation of these APIs. I have googled, but it did not get me any usefule links.I want to know if it is valid for these APIs to return NULL values under some conditions,which means I would need to check the validity of the pointers before using them.

Thanks and Regards,
Ramanan
0
Comment
Question by:ramanan_r
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 5

Expert Comment

by:Mechanic_Kharkov
ID: 24075866
0
 
LVL 21

Accepted Solution

by:
GlennaShaw earned 500 total points
ID: 24079779
Developing COM Add-Ins for Microsoft Office
http://www.codeproject.com/KB/vb/ComAddins_VBNET.aspx

0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question