Lately i've been trying to understand why this "catastrophic failure" happens.
I have started the code on Excel VBA, but for the sake of testing i created a small project on VB.NET.
Unfortunately, same error raises.
The code i have is the most simple one, purely for testing.
I dont know if im allowed to post this error video i posted to my channel, please tell me if i cant > https://youtu.be/yu_2X5nFdvQ
Any help would be extremely appreciated!
Code: Select all
Private Shared Sub CreateDoc()
Dim PXC As New PXC_Inst
'Initialize
PXC.Init("")
'Create new document, save as pdf
Dim Doc As IPXC_Document = PXC.NewDocument()
Doc.WriteToFile("c:\users\syntax\desktop\Test.pdf")
'Close document and Finalize
Doc.Close()
PXC.Finalize()
End Sub