add controls like Textbox in a WordML document dynamically.

J

jayrm100

Hi,

I need to add controls like Textbox,Label,Listbox etc dynamically in
a WordML document.

To be more precise, suppose i have doc and docnodes as two xml nodes,
document should be displayed as

<doc>
<docnodes>
Label1 : Textbox1
Label2 : Textbox2
</docnodes>
</doc>

Can someone help me with this.
 
C

Cindy M -WordMVP-

I need to add controls like Textbox,Label,Listbox etc dynamically in
a WordML document.

To be more precise, suppose i have doc and docnodes as two xml nodes,
document should be displayed as

<doc>
<docnodes>
Label1 : Textbox1
Label2 : Textbox2
</docnodes>
</doc>
There is no documentation on how to create or process embedded ActiveX
controls in a WordML document. The only thing you could possibly do
would be to create the document, as you want to see it, saving as XML.
Theoretically, you should then be able to extract (copy/paste) the
information for the ActiveX controls and use them in other documents.

But you'll probably need to watch out for some document properties that
set whether a document contains embedded OLE objects, and whether it
contains macro stuff.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
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 :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top