Creating a document help

samsmithnz

Well-known member
Joined
Jul 22, 2003
Messages
1,038
Location
Boston
Im trying to create a document in .NET with automation:

Code:
        Dim objWord As Microsoft.Office.Interop.Word.Application
        Dim objTempDoc As Microsoft.Office.Interop.Word.Document

        objWord = New Microsoft.Office.Interop.Word.Application
        objTempDoc = objWord.Documents.Add()

Im having problems with the add part, where are the document types defined and how do I use them? All I can find is this: (see attachement). This part of .NET is so underdocumented...
 

Similar threads

Back
Top