Discussion Locked

power point presentation Using VB

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hello,
How can I show a ppt presentation using Visual Basic.
Thank you.

1 reply

by fromnaija

You need to automate PowerPoint. In your VB project add a reference to ppt. Create an object reference to Ppt. Use this reference to open and show the ppt presentation. You can get the required code from Powerpoint macro. First record a macro carrying out the steps required to open and show a presentation. Then examine the macro recorded by going to the VBA editor. Cut and paste this code to your VB project, not forgeting to add a reference to Powerpoint and you should be home free.
I hope this helps. But if you need further help do contact me.

This discussion is closed to new replies.