phodkinson

exportPDF type mismatch

Discussion created by phodkinson on Sep 22, 2010
Hello,

I'm stuck and confused!!!

I've got some code that works perfectly in vba in ArcMap 9.3.1.
However, when i put exactly the same code into a dll using vb6 i get a "Type Mismatch" error.

The code in question is:

Dim pExporter as IExport
Set pExporter = New ExportPDF - this line is where the error occurs.

I've referenced the ESRI Output Object Lib both in ArcMap and VB6.

I hope you can help

Cheers

Paul

Outcomes