Hi,
I am trying to do something very simple. I embeded the active-x control in a windows form and in the form's Load event I have the following code:
I added the MapPoint Control 9.0
private void Form1_Load(object sender, System.EventArgs e) {
this.axMappointControl1.NewMap("C:\\New North American Map.ptt");
}
I get the following error:
An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in axinterop.mappoint.dll
Additional information: This method or property is not implemented.
Unhandled Exception: The program '[3960] AssetTracker.exe' has exited with code 0 (0x0).
System.Runtime.InteropServices.COMException (0x8000FFFF): This method or property is not implemented.
at MapPoint.IMappointCtrl.NewMap(Object Template)
at AxMapPoint.AxMappointControl.NewMap(Object template)
at AssetTracker.Form1.Form1_Load(Object sender, EventArgs e)
....
What have I done wrong? I seems to me that most other people have got beyond this point. Have I not followed some setup sets?
Thanks for any insight...
Chulaka