Solved

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

Posted on 2012-03-28
1
1,093 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Excel 2013 Power Query 1 53
InfoPath 2010 Field Validation Rule 3 43
How to make an InfoPath Form accessible to users via Sharepoint? 4 28
TSQL previous 5 33
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 descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This video shows the viewer how to set up and create Footnotes in their document. Click on the References tab: Select "Insert Footnote": Type in desired text:
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…

813 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now