Getting Error System.Runtime.InteropServices.COMException
- by Savan Parmar
Hey All,
I am using Vb.Net to Create Labels in Microsoft. For that i am using below mantioend Code.
Public Sub CreateLabel(ByVal StrFilter As String, ByVal Path As String)
WordApp = CreateObject("Word.Application")
''Add a new document.
WordDoc = WordApp.Documents.Add()
Dim oConn As SqlConnection = New SqlConnection(connSTR)
…