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/archive/2006/02/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,

Then it sounds like a timing issue.
You probably need to go give the object time to start before sending it instructions

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

:)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.