?
Solved

Open VB prog in Powerpoint

Posted on 2000-03-21
7
Medium Priority
?
170 Views
Last Modified: 2010-05-02
How can I open a compiled *.exe program in a Powerpoint presentation?
0
Comment
Question by:de_wagter
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 1

Accepted Solution

by:
riduce earned 150 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
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!

 
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

What’s Wrong with Your Cloud Strategy ?

Even as many CIOs are embracing a cloud-first strategy, the reality is that moving to the cloud is a lengthy process and the end-state is likely to be a blend of multiple clouds—public and private. Learn why multicloud solutions matter in this webinar by Nimble Storage.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Suggested Courses

650 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