G
Guest
Using these resources (http://www.pptfaq.com/FAQ00031.htm and
http://support.microsoft.com/kb/q163461/) for guidance, I have successfully
created, compiled, added, tested, and used an add-in that creates a toolbar
and several buttons which access various macros. I have read that PowerPoint
will unload my add-in when I exit PowerPoint and that in order to load it
again the next time I start PowerPoint, I must use one of the 4 methods
described here: http://support.microsoft.com/kb/q222685/ .
This is not the behavior I see, however, in PowerPoint 2000 SR1 or in
PowerPoint 2002 SR3. My add-in remains loaded until I manually unload it. I
have checked the registry and although I see a key for a different add-in, I
do not see one for mine. Is this supposed to be possible?
Further, given this behavior, now I want to be able to delete my toolbar
when my add-in is unloaded but *not* every time I exit PowerPoint. I had put
a command to delete my toolbar in the Auto_Close subroutine, but then it runs
every time I exit PowerPoint. Is there a similar Auto_Unload type of thing
that I can use or create?
Finally, is there any way to make my toolbar's visibility property persist
through exiting and restarting PowerPoint? If I open the built-in Picture
toolbar and then exit PowerPoint, it is visible when I restart PowerPoint.
Likewise, if I close the built-in Picture toolbar and then exit PowerPoint,
it is closed when I restart PowerPoint. But using the visibility property in
the Auto_Open subroutine overrides whatever the toolbar's previous visibility
setting might have been (even if I do not specify the toolbar's visibility
property, it defaults to not visible).
Thank you for any suggestions or pointers to other resources.
http://support.microsoft.com/kb/q163461/) for guidance, I have successfully
created, compiled, added, tested, and used an add-in that creates a toolbar
and several buttons which access various macros. I have read that PowerPoint
will unload my add-in when I exit PowerPoint and that in order to load it
again the next time I start PowerPoint, I must use one of the 4 methods
described here: http://support.microsoft.com/kb/q222685/ .
This is not the behavior I see, however, in PowerPoint 2000 SR1 or in
PowerPoint 2002 SR3. My add-in remains loaded until I manually unload it. I
have checked the registry and although I see a key for a different add-in, I
do not see one for mine. Is this supposed to be possible?
Further, given this behavior, now I want to be able to delete my toolbar
when my add-in is unloaded but *not* every time I exit PowerPoint. I had put
a command to delete my toolbar in the Auto_Close subroutine, but then it runs
every time I exit PowerPoint. Is there a similar Auto_Unload type of thing
that I can use or create?
Finally, is there any way to make my toolbar's visibility property persist
through exiting and restarting PowerPoint? If I open the built-in Picture
toolbar and then exit PowerPoint, it is visible when I restart PowerPoint.
Likewise, if I close the built-in Picture toolbar and then exit PowerPoint,
it is closed when I restart PowerPoint. But using the visibility property in
the Auto_Open subroutine overrides whatever the toolbar's previous visibility
setting might have been (even if I do not specify the toolbar's visibility
property, it defaults to not visible).
Thank you for any suggestions or pointers to other resources.