AddinPath

H

Hans Hofmann

Hi,

how to determine the (default) Path of Addins.
I do not find a registry key.
Any hints?

Thank you
HW
 
P

PPTMagician

Hi Hans,

I believe the default is almost the same as the template path (substitute
\addins for \templates). That doesn't preclude someone changing it though.

Glenna
 
H

Hans Hofmann

There isn't any as such because PowerPoint won't auto-load addins found in a
particular directory the way Word does.

What do you need to do once you have this info? Maybe there's some other way

I want to save my favorit animations. So I want to place the file in
the same directory the addin located. Or writing an installer to save
the Addin to the default directory.

@Glenna
So I am afraid that I have the next problem. How to obtain the
template path?

Greeting HW
 
H

Hans Hofmann

On Mon, 23 Aug 2004 16:46:47 EDT, Steve Rindsberg

8<---------------
This will give you the full path to your addin:

Addins("YourAddinName").Fullname

Jep, but this depends on the filename of addin. The filename must be
hardcoded and changing filename will fail this code...

is there realy no way to gather default directory of addins?


Gruß HW


WebSite Powerpoint interaktiv: www.lemitec.de/ppt
PowerPoint-Anwendertage im Oktober 2004 in Fulda:
http://www.ppt-user.de/ppt-at-2004/default.htm
Mail Reply: remove devnull :-(
 
H

Hans Hofmann

On Mon, 23 Aug 2004 23:37:45 EDT, Steve Rindsberg

8<---------------
How often will the filename change?
Declare a constant and set it to the name of the addin.
That's simple enough to maintain.

But it's not foolproof :)
OK, thank you for your help...

HW
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top