Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Word
application.errors
conversions
docmanagement
drawing.graphics
formatting.longdocs
international
internet.assistant
mail
mailmerge.fields
menustoolbars
newusers
numbering
oleinterop
pagelayout
printingfonts
setup.networking
spelling.grammar
tables
vba.addins
vba.beginners
vba.customization
vba.general
vba.userforms
web.authoring
word6-7macros
word97vba
  
 
date: Fri, 17 Mar 2006 09:14:31 -0000,    group: microsoft.public.word.oleinterop        back       


document.SaveAs changes to normal view   
Hi,

I am using OLE interop to save a word document as XML (from C#) - something 
like:

doc = app.Documents..Open(...);
doc.SaveAs(...,WdSaveFormat.wdFormatXML, ...)

The original document is in page layout view, but the saved XML document is 
in normal view.

This works fine (i.e. the view is preserved) when doing it interactively. 
Any ideas please?

Andy
date: Fri, 17 Mar 2006 09:14:31 -0000   author:   Andy Fish

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us