Open word
-
hi i need an example how to open word document from vb.net and also the dll file (reference) thanks Eyal
eyalso
Here are the DLLs Interop.Microsoft.Office.Core.dll Interop.Word.dll I'm not sure what exactly you're trying to accomplish with word, but here is some code which we have doing a merge in word. Hope this helps Dim wrdApp As Word.Application Dim wrdDoc As Word.Document Dim wrdMailMerge As Word.MailMerge MainScreen.lblStatus.Text = "Starting Mail Merge Process" MainScreen.Refresh() 'open word document and perform mail merge wrdApp = CreateObject("Word.Application") wrdApp.Visible = blnShowDetail wrdDoc = wrdApp.Documents.Open(strToFilePath & strMergeDoc) wrdMailMerge = wrdDoc.MailMerge wrdMailMerge.Execute(False)
Lost in the vast sea of .NET