• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 171
  • Last Modified:

Open VB prog in Powerpoint

How can I open a compiled *.exe program in a Powerpoint presentation?
0
de_wagter
Asked:
de_wagter
  • 3
  • 2
  • 2
1 Solution
 
riduceCommented:
Right-click on the button object (in PP)
choose action settings and then you can click on the run command
and browse to you're vb *.exe file
0
 
caraf_gCommented:
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

0
 
de_wagterAuthor Commented:
How do I get the program foreground automatically??? (instead of Alt-Tab)
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
caraf_gCommented:
Good question. I noticed this as well... Sorry I don't have the answer.
0
 
de_wagterAuthor Commented:
How do I get the program foreground automatically??? (instead of Alt-Tab)
0
 
de_wagterAuthor Commented:
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.
0
 
riduceCommented:
How do you want it to work then de wagter?
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 3
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now