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
Solved

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

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

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
Word, Excel, Access icons 4 17
checkbox to hide entire section 10 40
How do I get back values from vlookup's N/A cells? 4 16
vba to flip column 14 17
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
The viewer will learn how to make their project stand out over others by learning how to change colors and shapes, add spaces, change directions, and add bullets to their charts.
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.

809 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