Solved

how to export custom toolbar buttons from Powerpoint 2003?

Posted on 2010-09-19
4
810 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:teylyn
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:
teylyn 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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.
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
The viewer will learn how to edit animations within the presentation, incorporate sound, and set everything up with timing.
The viewer will learn how to edit text. This includes Font, Spacing, Resizing, Color, and other special text options.

930 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now