PC Review


Reply
Thread Tools Rate Thread

Attaching to running powerpoint instance

 
 
Bob
Guest
Posts: n/a
 
      21st Mar 2009
Hi,
Is there a way for me to attach my c# application to a previously
running powerpoint instance? My code of:
PowerPoint.ApplicationClass ap = new PowerPoint.ApplicationClass()
works fine if there isn't an open instance of powerpoint (or if that
instance has been previously created from the above line) but fails
with the error below if powerpoint is previously open.

"Retrieving the COM class factory for component with CLSID
{91493441-5A91-11CF-8700-00AA0060263B} failed due to the following
error: 80080005."
Source="**"
ErrorCode=-2146959355

Thanks,
Bob
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Attaching to Running Process =?Utf-8?B?UmljaGFyZCBNU0w=?= Microsoft Excel Programming 7 15th Nov 2007 05:05 AM
Single-instance app: how to force running instance window to foreground? Jen Microsoft C# .NET 6 3rd Apr 2007 10:04 PM
Attaching a PowerPoint to AOL =?Utf-8?B?Z3RianI=?= Microsoft Powerpoint 7 10th Mar 2006 04:26 AM
Attaching to an already running process... Patrick Dugan Microsoft VB .NET 0 17th May 2005 09:27 PM
Powerpoint instance running in background after application is closed Phillip Heim Microsoft Powerpoint 0 19th Jan 2004 09:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:40 PM.