|
-
Nov 27th, 2000, 02:31 AM
#1
Thread Starter
Lively Member
I am trying to manipulate a Powerpoint presentation that I have inserted into my project. I want the presentation to show some information the user enters on a previous form.
Scenario:
On the Project -> Components window there is an Insertable Objects tab and if Powerpoint is installed on your system, you have the option of inserting a Powerpoint presentation.
The Problem:
I can't find a way to change the Text in a specific text field. Ideally, if this was based on an object structure it would be a no-brainer.
Code:
MyPresentation.Slide1.txtTitle = "Title Goes Here"
MyPresentation.Slide1.txtField1 = "Information"
Plea for help!:
Can someone please show me a method for doing this or at least point me in the right direction?
Flint
-
Nov 27th, 2000, 05:08 AM
#2
Fanatic Member
Go To Project, References, Add a reference to Powerpoint Object Library, this should giv e you what you need. if you want more documentation do a search on MSDN, you should find some stuff in the Office / Visual Basic Programmers guide.
Good Luck
Crispin
VB6 ENT SP5
VB.NET
W2K ADV SVR SP3
WWW.BLOCKSOFT.CO.UK
[Microsoft Basic: 1976-2001, RIP]
-
Nov 27th, 2000, 05:50 AM
#3
Fanatic Member
-
Nov 27th, 2000, 06:45 AM
#4
As Crispin mentioned, if you add a reference, you can get all of the properties and methods. To view these, goto the object browser toolbar button (or the view menu), then type in your search phrases like slides, powerpoint etc and hit the question mark to get more info on this.
The MSDN doesn't really help much on this, same as source code sites like vbcode.com.
http://www.microsoft.com/officedev has how to access, open and run presentations, but I have been fiddling with this and cannot find a proper answer on this myself.
I have found:
http://search.microsoft.com/us/dev/d...=on&p=1&nq=NEW
Look at number 7 as this may well be of some help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|