Community of VE/MapPoint Users and Developers
This is a discussion on mappoint 2002 in vb.net on a mdi child within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I am trying to use a mappoint 2002 control on a mdi child form in vb.net and always get "An ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| mappoint 2002 in vb.net on a mdi child "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 error occurs at the .openmap method which is called on the form load. This is the code used to launch the form Dim fMap As New frmMap() fMap.MdiParent = Me fMap.Show() If I comment out the 'fMap.MdiParent = Me' it loads fine and displays the map. I have seen some other people in user group postings with the same problem in vb.net and C#.net , but , no one with a fix??? |
| |||
| Working Now
Ok, I was able to get this working now by opening the map in a timer after the form was loaded. For some reason in vb.net on an mdi child it would not work from the form load. Now I am having the same problem I was having in VB6. Mappoint keeps blowing its container. When the form loads up, the mappoint application is loaded outside of its control container. If I unload the form then load it back Mappoint closes and it works fine (inside the container). The form loads fine every other time until I reboot the machine. I have reinstalled mappoint on 2 machines and still have the same problem. |
![]() |
| Tags |
| child, mappoint 2002, mdi, vbnet |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mappoint 2002 with c# | dave_behaving_badly | MapPoint 2006/2009 Discussion | 0 | 08-19-2003 07:49 AM |
| Help Using Mappoint 2002 As A COM in .Net | Anonymous | MapPoint 2006/2009 Discussion | 0 | 05-21-2003 10:31 PM |
| MapPoint 2002 | Anonymous | MapPoint 2006/2009 Discussion | 2 | 10-29-2002 12:25 PM |
| Hello. I am using MapPoint 2002. I am doing a lot .... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 06-24-2002 02:04 PM |
| I am currently using MapPoint 2002. Is there a wa.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 10-27-2001 11:32 AM |