Select to view content in your preferred language

Implementing class 'ESRI.ArcGIS.Catalog.GxMapClass' can't be found

2166
2
05-19-2011 01:06 PM
helenchu
Frequent Contributor
All,
I'm trying to convert my VBA codes to VB.net of this line.  Any idea how to fix it?  Thank you.

Dim pGxFile As IGxFile
Set pGxFile = New GxMap

to .NET
Dim pGxFile As IGxFile
pGxFile = New GxMap

and the error I got is
"Implementing class 'ESRI.ArcGIS.Catalog.GxMapClass' for interface 'ESRI.ArcGIS.Catalog.GxMap' cannot be found."
0 Kudos
2 Replies
JohnHauck
Frequent Contributor
This is also dependant upon the ESRI.ArcGIS.Geodatabase assembly. Please make sure that you have added a reference to this.
0 Kudos
by Anonymous User
Not applicable
Original User: helenchu

🙂
Thank you so very much.  I would never figure that out myself.
0 Kudos