Re: removing all existing projects & toolbars by Jonathan
Jonathan
Tue Jun 06 13:58:39 CDT 2006
"Lucas Karpiuk" <nospam@speedofwood.com> wrote in message
news:56BB9536-C24B-4B82-8240-E3ACD751DECB@microsoft.com...
> is there any way to do this programatically?
Yes. Toolbars and macros are stored in templates and add-ins. Delete the
templates containing them, and the toolbars and macros will go.
>
> currently all our users have toolbars & macros installed locally which has
> become rather time consuming when there are changes/additions/updates.
Then you need to find a more efficient way of handling deployment. There are
lots of options available. You could use SMS for the purpose (this is the
sort of thing SMS is designed for), you could call a batch file or a VBS
script as part of a user's login and have that copy the files to the
appropriate places.
> one
> office has been using a shared network location as the startup directory
Bad idea - see my other reply.
> and
> we're going to implement it nationally
Even worse idea.
> - would like to create an install
> macro that removes all existing toolbars & macro projects and then updates
> the startup directory if possible?
Well, the startup folder can be changed programatically by either of two
ways.
1. For each user with an account on the PC, use automation to open a copy of
Word under that account, and change the Options.DefaultfilePath(8) property.
2. For each user, change the relevant key in the registry. For Word 2003, it
is
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Word\Options
with the value STARTUP-PATH
Other versions of Word will use 10.0, 9.0 etc according to the version of
Office you are using
--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup