Hello,
I hope someone can help me with this as I've found nothing that is helpfull.
I'm trying to get started with using the DWF Viewer to load a DWF file (using VB code) into a simple Microsoft Access report. I insert the DWF Viewer Control into the details section of the report then enter the following code into the Report_Activate event.
Private Sub Report_Activate()
Dim DWFviewer As ExpressViewerDll.IAdECompositeViewer
Set DWFviewer = prod2d.ECompositeViewer
End Sub
This is simply to get started. I will eventually assign a sourcepath using the DWFviewer variable I declared but when I preview the report, it hangs indefinitely. I have to force Microsoft Access closed and restart.
I'm not even sure if that's the right place for that declaration.
Also, what is the right event for me to set the sourcepath and other properties?
I put a simply messagebox into the InitLoadItem event for the DWF Viewer control and the messagebox never shows up.
I have the API help file but it doesn't help me at all. I entered the sample code it has and it hangs the report just as above.
Can someone please help?