Solved

how to export custom toolbar buttons from Powerpoint 2003?

Posted on 2010-09-19
4
815 Views
Last Modified: 2012-05-10
My company has built several custom toolbars into the standard Powerpoint image that I would like to be able to export, to share with a friend who does not work at my company.  How can this be done?

I know about the PPT11.pcb file, which stores the toolbar configuration.  When I copied that over, I got all excited, thinking that it would include the functionality/code for the custom buttons... but now I have the correct toolbars and no functionality sitting underneath the custom buttons.  When I press the non-standard buttons on the toolbar nothing happens.

So where does that code reside?  How can I copy it over to my friend's PC so that they can take advantage of the custom functionality?  

Desperate for help on this!!!
0
Comment
Question by:snotnosedpuke
  • 2
  • 2
4 Comments
 
LVL 50

Expert Comment

by:Ingeborg Hawighorst
ID: 33713061
Hello snotnosedpuke (nice handle),

You will probably find the macros for the toolbar buttons when you open your company presentation and hit Alt-F11. This will open the Visual Basic Editor, where you will probably find modules with subroutines that execute when the toolbar buttons are clicked.

You can right-click on a module and select "Export File". This will save it as a *.bas file that you can copy to another computer. There, you can open the VBE and import a module.

Does that help?

cheers, teylyn
0
 

Author Comment

by:snotnosedpuke
ID: 33713106
Thanks for the idea.  I have tried this in a few cases and I don't see any VB underneath the buttons.  I wonder if it's stored in the custom DLL?

I'm (obviously) not a coder, so I apologize for the unsophistication of my questions and language.  

I found a company-specific directory in the Program Files\Microsoft Office\ directory, which includes (among other things) a custom DLL file.  I don't have the right tools to read the file, but scanning it in Notepad gives me the impression that this is a critical configuration file.

So I copied that to my friend's PC, and it doesn't seem to do anything.  Two questions:
1) Is my intuition right, that this file includes the elusive code?
2) If so, how do I get my friend's PC to run the DLL (or whatever the technical term is), so that Powerpoint executes the code when those custom buttons are pressed?
0
 
LVL 50

Accepted Solution

by:
Ingeborg Hawighorst earned 500 total points
ID: 33713144
Maybe you can ask your company to provide your friend with the complete installation files for the custom toolbars. If they don't mind that your friend uses software that your company probably paid for (either an off the shelf product or custom development), they'll be happy to share the software. If they don't want to share it, what you're attempting is basically illegal.

cheers, teylyn
0
 

Author Comment

by:snotnosedpuke
ID: 33713162
I suspect you're right about them not wanting to share the code.  I registered the DLL and it now works.  

Appreciate your help in thinking through this with me!
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone 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

Setting the Scene PowerPoint is a creative tool in the right hands but it also includes a much underutilised programming dimension. In this beginner level article, we're going to show you some of some key elements of programming PowerPoint using th…
Preface: When I started this series, I used the term CommandBars because that is the Office Object class that it discusses. Unfortunately, when Microsoft introduced Office 2007, they replaced the standard Commandbar menus with "The Ribbon" and rem…
The viewer will learn how to edit text. This includes Font, Spacing, Resizing, Color, and other special text options.
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …

832 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