View Single Post

  #1 (permalink)  
Old 10-22-2002
clackclack clackclack is offline
Junior Member
White Belt
 
Join Date: Oct 2002
Posts: 2
MapPoint OCX control does not work on a .Net MDI form.

I have a .NET mdi application and I am trying to use the MapPoint control on one of the MDI child forms. However, when the control attempts to Open or Create a new map it throws the following exception:

An unhandled exception of type 'System.ArgumentException' occurred in axinterop.mappoint.dll

Additional information: MapPoint failed to load. The cause of this failure is unknown.


The very same code that I am using works on a non-MDI form.

axMappointControl1.OpenMap("c:\\test.ptm");

Any ideas on how I can get this to work?

Jeff
Reply With Quote