Showing posts with label powerpoint. Show all posts
Showing posts with label powerpoint. Show all posts

Thursday, March 29, 2012

Office Automation - Powerpoint in VB.Net

Hi

I tried to do the Powerpoint presentation using VB.Net 2.0. I got error while creating the object of the Powerpoint.Application

Unable to cast COM object of type 'PowerPoint.ApplicationClass' to interface type 'PowerPoint._Application'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{91493442-5A91-11CF-8700-00AA0060263B}' failed due to the following error: Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)).


Can any one tell me the solution for this error.?

Ganesh.

Hi Ganesh,

The error indicates that the PowerPoint.ApplicationClass was not registered on the running machine properly. A COM class needs to be registered in the registery to make it identified. The register process is done at the installation phase of Office.

So you can try to repair the installation of PowerPoint or make sure it is installed properly.

Further more, in an ASP.NET application, server side automation is not supported. Here is a KB article about this.

http://support.microsoft.com/kb/257757/en-us

Hope this helps.

Office Document Viewer

Hi,

i am searching for a WebForm Component or a Way to show
Word, Powerpoint and Excel Files in an Viewer on the ASPX
Page. Is this possible? How can i do that or which
Component can is use?

Thanks
Yavuz BogazciYou can use office web components. For example Microsoft Office SpreadSheet
component to display excel files. It must be on the components tab, if it is
not there add it using add/remove items

"Yavuz Bogazci" <news_NOSPAMM_@.bogazci.com> wrote in message
news:0b8401c3af49$74c3d390$a301280a@.phx.gbl...
> Hi,
> i am searching for a WebForm Component or a Way to show
> Word, Powerpoint and Excel Files in an Viewer on the ASPX
> Page. Is this possible? How can i do that or which
> Component can is use?
> Thanks
> Yavuz Bogazci
Can i use this on WebForms? An what should i use for Word Documents?

Thanks
Yavuz Bogazci

"Ayca Aksu" <ayca_aksu@.hotmail.com.nospam> schrieb im Newsbeitrag
news:OPcWhQ2rDHA.4056@.TK2MSFTNGP11.phx.gbl...
> You can use office web components. For example Microsoft Office
SpreadSheet
> component to display excel files. It must be on the components tab, if it
is
> not there add it using add/remove items
> "Yavuz Bogazci" <news_NOSPAMM_@.bogazci.com> wrote in message
> news:0b8401c3af49$74c3d390$a301280a@.phx.gbl...
> > Hi,
> > i am searching for a WebForm Component or a Way to show
> > Word, Powerpoint and Excel Files in an Viewer on the ASPX
> > Page. Is this possible? How can i do that or which
> > Component can is use?
> > Thanks
> > Yavuz Bogazci