Solved

Open VB prog in Powerpoint

Posted on 2000-03-21
7
165 Views
Last Modified: 2010-05-02
How can I open a compiled *.exe program in a Powerpoint presentation?
0
Comment
Question by:de_wagter
  • 3
  • 2
  • 2
7 Comments
 
LVL 1

Accepted Solution

by:
riduce earned 50 total points
ID: 2640076
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
 
LVL 10

Expert Comment

by:caraf_g
ID: 2640088
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
 
LVL 1

Author Comment

by:de_wagter
ID: 2640258
How do I get the program foreground automatically??? (instead of Alt-Tab)
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 10

Expert Comment

by:caraf_g
ID: 2640292
Good question. I noticed this as well... Sorry I don't have the answer.
0
 
LVL 1

Author Comment

by:de_wagter
ID: 2640389
How do I get the program foreground automatically??? (instead of Alt-Tab)
0
 
LVL 1

Author Comment

by:de_wagter
ID: 2640441
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
 
LVL 1

Expert Comment

by:riduce
ID: 2648394
How do you want it to work then de wagter?
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question