hello;
i'm trying to learn about using this API, but i'm having unknown exceptions that are not blocking my test application but always showing when running project :
my code is too basic what is causing this
i'm trying to learn about using this API, but i'm having unknown exceptions that are not blocking my test application but always showing when running project :
Dim WordApp As NetOffice.WordApi.Application = New NetOffice.WordApi.Application()
WordApp.DisplayAlerts = NetOffice.WordApi.Enums.WdAlertLevel.wdAlertsNone
WordApp.Visible = False
Dim WordDoc As NetOffice.WordApi.Document = WordApp.Documents.Open("C:\Users\Abinn\Desktop\test.docx")
WordDoc.Close()
WordApp.Quit()
WordApp.Dispose()
Exception levée : 'System.Runtime.InteropServices.COMException' dans NetOffice.dllmy code is too basic what is causing this