Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / October 2006

Tip: Looking for answers? Try searching our database.

VSTO 2005 and Word Action Pane

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Pritam Dahake - 02 Oct 2006 22:17 GMT
Hi,
I am trying to use the Action pane to insert into a document the contents of
another document.
So far I have been able to get the Actions Pane to work fine. I have the
contents of the other document which I want to insert in a "Stream" object.
Can anyone help me as to how I can insert the contents of this stream into
the current document at the current cursor position??

Thanks in advance,
-Pritam
Cindy M. - 03 Oct 2006 14:01 GMT
Hi =?Utf-8?B?UHJpdGFtIERhaGFrZQ==?=,

> I am trying to use the Action pane to insert into a document the contents of
> another document.
> So far I have been able to get the Actions Pane to work fine. I have the
> contents of the other document which I want to insert in a "Stream" object.
> Can anyone help me as to how I can insert the contents of this stream into
> the current document at the current cursor position??

Word isn't designed to handle "streams", except in the form of its own, native
XML vocabulary. In that case, you can use the XML property to get the XML from
one document and the InsertXML method to put it into a different one...

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 :-)
Pritam Dahake - 03 Oct 2006 14:54 GMT
Cindy,
Thanks for the quick reply.
Do you have any sample code or any resources I could look at to find out how
to read word document in XML format and insert it into another document?

Thanks
-Pritam

> Hi =?Utf-8?B?UHJpdGFtIERhaGFrZQ==?=,
>
[quoted text clipped - 16 lines]
> This reply is posted in the Newsgroup; please post any follow question or reply
> in the newsgroup and not by e-mail :-)
 
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.