View Single Post
  #8  
Old January 18th, 2005, 03:05 AM
Steve Rindsberg
external usenet poster
 
Posts: n/a
Default

In article , Desmond wrote:
Powerpoint will not be in edit mode it will be running in slide show mode. I
want to show slides 1 to 4 of a song using the kepord keys then jump to
another song which could be slides 602 to 608. There for a simple vb
aplication with 4 text boxes holding the 4 starting places could be used to
force powerpoint to the next group of slides. And regaining the focus for the
keyboard again.


Assuming you have a reference to the PPT application in oPPTApp:

oPPTApp.ActivePresentation.SlideShowWindow.View.Go ToSlide(X)

where X is the index of the slide you want to jump to.




Desmond.

"Steve Rindsberg" wrote:

In article , Desmond wrote:
Thanks for your help. about 3 years ago I had do a project using Access. for
a catalouge company. a stats retreval. I used VB to open a word document and
create a large table of data. A long time ago and I still have the original
code somewhere. To create an instance of the object and use it. I have never
done this in PPT. All I want is a mini graphical song board of tunes and by
clicking on the correct one get powerpoint (all ready running) to jump to 101
and get the windows focus (for key and mouse input back in control)


Again, is Powerpoint going to be running in edit or show mode?


Thanks

Desmond

"Steve Rindsberg" wrote:

I need to controll powerpoint by forcing it to jump to specified pages using
a stand alone VB application. Is this possible. I have exausted all known
newsgroups

Except this one. But you got lucky. ;-)

Sure, this is possible. Let's start with how far you've gotten and where you
need to be.

Have you already worked out how to fire off an instance of PPT from VB and
control it? If so, all you need is a few lines of code to add to your project.

Next, do you need to go to a specific slide in slide show view or in regular
edit view?


-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================





-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================





-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================