Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1176
  • Last Modified:

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

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
rajtou
Asked:
rajtou
1 Solution
 
JSRWilsonCommented:
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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now