Code: Select all
Private Sub btnPrintDocument_Click()
Dim oGdViewer As GdPicture_NET_10.GdViewer
Set oGdViewer = GdViewer1.GetObjectInterop()
oGdViewer.Print
End Sub
However, when I attempt to print, I get an "Object dosen't support this property of method". Intellisense is prompting me that .print is acceptable but when I execute it I get the error.
I've also tried defining a GdPictureStatus variable and setting the output as in
Code: Select all
Dim GdPictureStatus as GdPictureStatus
Set GdPictureStatus = oGdViewer.Print()
with no success.
BTW, other print methods do appear to work such as the .PrintDialog or .PrintFix so I'm pretty sure my syntax is correct.
I'm sure this is an access vba quirk but I'm at a loss on how to fix. I've attached the sample file that is provided by the vendor with a print button to illustrate the issue. Any help would be appreciated.