Link to home
Start Free TrialLog in
Avatar of de_wagter
de_wagter

asked on

Open VB prog in Powerpoint

How can I open a compiled *.exe program in a Powerpoint presentation?
ASKER CERTIFIED SOLUTION
Avatar of riduce
riduce

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of caraf_g
caraf_g

If you go into Powerpoint and go View - Toolbars - Visual basic you'll get a toolbar through which you can add VB code to your powerpoint presentation.

To run an executable:

e.g.
Public Sub DoIt()

Shell "Notepad.exe"

End Sub

Put something on a slide, right-click on the object, go to Action Settings. Now you can choose to run a macro. Choose DoIt

Avatar of de_wagter

ASKER

How do I get the program foreground automatically??? (instead of Alt-Tab)
Good question. I noticed this as well... Sorry I don't have the answer.
How do I get the program foreground automatically??? (instead of Alt-Tab)
I draw a button in Paint and used the Action Settings option.
It's not what I was looking for, but it works, so thanks.
How do you want it to work then de wagter?