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. |
![]() |
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 06:49 AM |
| Help Using Mappoint 2002 As A COM in .Net | Anonymous | MapPoint 2006/2009 Discussion | 0 | 05-21-2003 09:31 PM |
| MapPoint 2002 | Anonymous | MapPoint 2006/2009 Discussion | 2 | 10-29-2002 11:25 AM |
| Hello. I am using MapPoint 2002. I am doing a lot .... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 06-24-2002 01:04 PM |
| I am currently using MapPoint 2002. Is there a wa.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 10-27-2001 10:32 AM |
Flights to Tunisia
Experience the cultural mix of Tunisia yourself. Visit their impressive historical sites and delicious cuisine. Visit us online to get great value flights to Tunisia.
Cyprus Holidays
Find great Cyprus Holidays with Travel Counsellors. A personal Travel Counsellor can help you plan the perfect holiday to Cyprus.
Cheap Flight Canada
Making a cheap flight to Canada can become a reality when you book online with dealchecker.co.uk. Our simple search allows you to see for yourself who is the cheapest.
Holidays to Sri Lanka
Holidays to Sri Lanka are enriched by the glittering tapestry of culture and breath taking mountain views. Book a holiday there today!
Cheap Turkey Holidays
The best time of year to sneak in cheap Turkey holidays is during the off-peak season. Check out the great deals available during April, May or October. For other tips on how to bag a great value holiday simply check online at ulookubook.com
Package Holidays
With the help of Travel.co.uk you can find the package holidays of your dreams.
Cheap Holidays in Fuerteventura
Save your money! Live like royalty! Visit the Canary Islands! Get info on cheap holidays in Fuerteventura, only at On The Beach.