Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Interactibility between VB 6.0 and Powerpoint

Status
Not open for further replies.

MChancellor

Technical User
Jan 12, 2000
35
US
Is it possible to call a powerpoint file from VB?&nbsp;&nbsp;Just wondering on the interactibility (if that is even a word) between the 2 programs.<br><br>Thanks for any help..<br>
 
MChancellor -<br><br>You can do a CreateObject against &quot;PowerPoint.Application&quot; and control Powerpoint that way.&nbsp;&nbsp;Put a breakpoint in your code afterwards and you can use the object browser (F2) to see what the object-tree is like for Powerpoint.<br><br>You <i>could</i> do a reference to the MSOffice library, but then when your app is installed on a user's PC that doesn't own Office, they would get ugly error messages.&nbsp;&nbsp;By doing a CreateObject you can trap the error that occurs when it fails and set a flag to say &quot;This user doesn't have Powerpoint&quot;, rather than have your entire app blow up.<br><br>Chip H.<br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top