Solved

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

Posted on 2009-04-06
3
172 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
3 Comments
 
LVL 5

Expert Comment

by:Mechanic_Kharkov
ID: 24075866
0
 
LVL 21

Accepted Solution

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

0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
countHi challenge 25 156
Specific format 21 207
PHP question(s) about order of output 9 69
C# code editing and collaboration 3 137
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

821 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