DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   C# (http://www.daniweb.com/forums/forum61.html)
-   -   Retrieving the COM class factory for component with CLSID {91493441-5A91-11CF-8700-00 (http://www.daniweb.com/forums/thread161878.html)

bhavna_816 Dec 12th, 2008 12:44 am
Retrieving the COM class factory for component with CLSID {91493441-5A91-11CF-8700-00
 
I have created a C# Windows application in .NET 3.5, it runs the powerpoint slideshow and closes all the existing slideshows and should only run the new .ppt application.

In C# when I run this application with putting breakpoints it runs fine and gives no error.
But when I run it without breakpoint and say Ctrl+F5 then it throws the exception

Retrieving the COM class factory for component with CLSID {91493441-5A91-11CF-8700-00AA0060263B} failed due to the following error: 800706ba.

I have followed these links

http://blogs.msdn.com/karthick/archi...28/540780.aspx

http://blog.crowe.co.nz/archive/2006/03/02/589.aspx
But got no help.

Can please anybody help me?

Thanks in advance,

LizR Dec 12th, 2008 7:32 am
Re: Retrieving the COM class factory for component with CLSID {91493441-5A91-11CF-8700-00
 
Then it sounds like a timing issue.
You probably need to go give the object time to start before sending it instructions

bhavna_816 Dec 12th, 2008 7:44 am
Re: Retrieving the COM class factory for component with CLSID {91493441-5A91-11CF-8700-00
 
Quote:

Originally Posted by LizR (Post 755683)
Then it sounds like a timing issue.
You probably need to go give the object time to start before sending it instructions

Thanks the problem is solved by
Threading .Sleep

:)


All times are GMT -4. The time now is 1:48 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC