Solved

Open VB prog in Powerpoint

Posted on 2000-03-21
7
166 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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

789 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