Solved

how to create instance of powerpoint without using interop in infopath using c#

Posted on 2012-03-28
1
1,110 Views
Last Modified: 2012-04-14
Hi,

I am using infopath 2010 and it is compatible with 2007. but the problem is the powerpoint interop and office.core version.

in vb.net i use createobject to create an instance of object without using interop.

how to do the same in c# without using interop.

thanks
Raj
0
Comment
Question by:rajtou
1 Comment
 
LVL 23

Accepted Solution

by:
JSRWilson earned 500 total points
ID: 37780807
Hi

I'm  a vb programmer mainly so this may be wrong!

Wouldn't you say

Type objType = Type.GetTypeFromProgID(“PowerPoint.Application”);
object objSum = Activator.CreateInstance(objType);
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
This article will show you how to use shortcut menus in the Access run-time environment.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …

730 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