First, import a reference to the Word Object Library, then create an
instance of Word:
m_WordApplicati on = New Word.Applicatio n
m_MainDocument =
m_WordApplicati on.Documents.Ad d(Template:=CTy pe(m_TemplatePa th, Object))
m_WordApplicati on.Visible = False
Then use the documented Word Object Model to navigate and manipulate the
document, including modifying the bookmarks collection and/or
inserting/editing text. A word of caution however, make sure you release
references you make to word objects, otherwise you'll find Word hanging
around in memory even after your program has terminated.
"andreas" <an*****@pandor a.be> wrote in message
news:78******** *************** @phobos.telenet-ops.be...
With a vb.net application (vb.net 2003) , I want to make a new word doc
where I put several bookmarks and also text in paragraphs following the
bookmarks
How to do?
Thanks for any response