Solved

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

Posted on 2009-04-06
3
173 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 125 total points
ID: 24079779
Developing COM Add-Ins for Microsoft Office
http://www.codeproject.com/KB/vb/ComAddins_VBNET.aspx

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
wordmultiple challenge 12 167
Adjust the position 3 74
Word 2010 assign Hyperlink to Sub code 5 48
Java pass by reference 3 69
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.
PowerPoint is the go-to presentation software for millions of users around the world. Many presentations use basic text features but you can really make special text jump out of your slide by applying this bubble text design process. This article ha…
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.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

736 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