How to get SlideShowView of already running PowerPointViewer 97

M

Manoj Pandole

Hi,

I am working on a scenario where an application starts
Powerpoint Viewer 97(this is a MFC application), and
there's another application( a VB6 one) which should be
able to get a reference to SlideShowView started by MFC
application.Although i am able to get a reference to
Powerpoint viewer from VB6 application for which i use
this code,

Dim objPPTVwr As PowerPointViewer.Application

Set objPPTVwr = GetObject(, "PowerPointViewer.Application")

These statements let me get a reference to already running
Powerpoint viewer, but when i use the statements below to
get a reference to SlideShowView like this,

Dim objPPTSlideShowView As PowerPointViewer.SlideShowView

Set objPPTSlideShowView = GetObject_
("", "PowerPointViewer.SlideShowView")

I get an error

"ActiveX component can't create object"


Can somebody please tell me how i can get a reference to
SlideShowView object of a powerpoint viewer started by
another application?

I have gone through microsoft's KB articles but they don't
provide much help on this. Please help me out.

Regards,
Manoj Pandole




but i am unable to get a reference
to
SlideShowView object.
Can anybody there please tell me how to get a reference
to
SlideShowView?

Regards,
Manoj Pandole
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top