Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / VS Tools for Office / March 2007

Tip: Looking for answers? Try searching our database.

RemoveCustomization and Xml Expansion Pack

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
offa - 06 Mar 2007 10:15 GMT
hi,
im trying to save a word template with an action pane as a Word
document without the customization. i use the RemoveCustomization()
method for that. when opening  the saved document - i get a "Choose
XML Expansion Pack" dialog box that shows me the available xml
expantion packs ("MyActionPane" and "No expansion pack" (which is
selected)). how do i get rid of that dialog box.
thanks
Maarten van Stam [MVP VSTO] - 06 Mar 2007 10:58 GMT
Have a look at this thread:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=434897&SiteID=1

object reference = "ActionsPane";
XMLSchemaReferences.get_Item(ref reference).Delete();

-= Maarten=-
MVP - Visual Developer - VSTO
http://blogs.officezealot.com/maarten

> hi,
> im trying to save a word template with an action pane as a Word
[quoted text clipped - 4 lines]
> selected)). how do i get rid of that dialog box.
> thanks
offa - 06 Mar 2007 11:34 GMT
thanks works great...

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.