I am developing a GIS App.
The environment is ArcEngine9.1 and VB.NET
Question is very simple, but something like difficult.
Public m_Editor As IEditor
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
m_Editor = New EditorClass
End Sub
this code occurs an error in VB Editor window.
"Because 'ESRI.ArcGIS.Editor.EditorClass.Private Sub New()' is 'Private', this can't be accessed in this context"
In ArcEngine9.3, I could use IEngineEditorClass in my application.
m_Editor = New EngineEditorClass
It was OK
but there is no EngineEditor in 9.1.
Is there any way to use EditorClass in my own application in 9.1?
Because it's imposible to use this class, also I can't use ISnapEnvironment.
So I can't use snap funtionality when drawing polyline.
Please give me any tip or sample code...
Thanks in advance.