kennymce
Wed Jul 16 09:25:01 PDT 2008
Hi Cindy,
Thanks for your reply. It's a shame that these aren't exposed in the object
model as that would simplify things.
Specifically, the disabled items I need to remove are templates that have
'misfired' somehow and are marked as disabled in the disabled items list. My
web application hangs when it tries to open these template files because the
web server encounters the dialog box informing the user that the item caused
a serious error last time it was used. In reality there's generally nothing
wrong with the templates and simply opening them on the server and confirming
to the dialog box that you want to load the document anyway clears the
problem. I just wondered if there was a programmatic way to achieve this.
If I have to remove them from the registry then I'm sure I could give the
appropriate permissions to the web application to do this.
Many thanks and best regards,
--
Kenny.
Systems Developer
"Cindy M." wrote:
> Hi =?Utf-8?B?a2VubnltY2U=?=,
>
> > Does anybody know of a way to clear the disabled items list in Word 2007
> > using automation (i'm automating using Visual Studio 2005 vb.Net)?
> >
> I'm pretty sure this isn't exposed in the object model. I believe the
> information in this dialog box reflects settings in the Registry. So you'd
> have to read/write to the Registry - question is, would you have the
> necessary permissions to do that?
>
> Cindy Meister
> INTER-Solutions, Switzerland
>
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
>
http://www.word.mvps.org
>
> This reply is posted in the Newsgroup; please post any follow question or
> reply in the newsgroup and not by e-mail :-)
>
>