I can't print anymore with my stable application.
In order to understand where the issue is, I installed VS 2017 and tried the following minimal application:
Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
PrintTest()
End Sub
Sub PrintTest()
Dim doc As New Document()
Dim printDoc As System.Drawing.Printing.PrintDocument
printDoc = doc.PrintDocument
printDoc.PrinterSettings.PrinterName = "PRINTER10"
Try
printDoc.Print()
Catch
End Try
printDoc.Dispose()
End Sub
End Class
It seems like the doc object (document in spire.doc) hasn't got anymore the PrintDocument property (it's highlighted by VS sintax checker). In fact the demos aren't working...
Could you please help me?
Thank you so much!
PG