Community of VE/MapPoint Users and Developers
This is a discussion on Use MapPoint NA and MapPoint EU in the same application? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Has anyone been able to successfully use North America and Europe in the same application? I can create an instance ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Use MapPoint NA and MapPoint EU in the same application? I can create an instance of the MapPoint NA Application object with this: Code: MapPoint.ApplicationClass theApp = new MapPoint.ApplicationClass(); Code: Type mpType = Type.GetTypeFromProgID("MapPoint.Application.EU", false);
object mpEu = Activator.CreateInstance(mpType);
MapPoint.Application mpEuApp;
if(mpEu is MapPoint.Application)
{
// MapPoint._Application also works
// MapPoint.ApplicationClass does not work.
mpEuApp = (MapPoint.Application)mpEu;
} |
| ||||
|
In C++, I use Code: _ApplicationPtr myAppPtr;
if ( myAppPtr.CreateInstance(appObjName) != 0)
{
// error
} I have an application that successfully queries the registry to find which versions are available, and then gives the user the choice. (unfortunately it doesn't work for selecting 2002 vs 2004) But it does work for selecting Europe vs. North America. Richard
__________________ Winwaed Software Technology LLC http://www.winwaed.com See http://www.mapping-tools.com for MapPoint Tools Pre-Order MapPoint 2009 today: http://www.mapping-tools.com/mappoint2009 |
| |||
|
The problem I am having is not with creating instances (either NA or EU) of these applications. I can do that just fine. The problem I am having is that the instances don't have the same interface. So I can't decide which one I want to load and then assign it to some generic reference (which is what I'd like to do). |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using Mappoint with Web Application | Anonymous | MapPoint 2006/2009 Discussion | 0 | 06-02-2004 07:29 AM |
| Cant See Mappoint.Application from VB | Anonymous | MapPoint 2006/2009 Discussion | 2 | 04-15-2004 10:15 AM |
| Creating an application with mappoint within vb | blackmap | MapPoint 2006/2009 Discussion | 3 | 12-16-2002 06:15 PM |
| Hi, I need help getting MapPoint.Application to.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 01-23-2002 06:10 AM |
| I am trying to use the Mappoint in my application .... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 12-03-2001 09:53 PM |
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.
Portugal Weather
Check out Portugal Weather - Travel Counsellors details information on Portugal including, weather, flights and accommodation.
Holiday Italy
A Holiday in Italy can mean many different things to many different people. This diverse country has an abundance of art, wine, food and stunning beaches. Book online today.
Bahamas Holidays
Bahamas Holidays offer pure blue skies, soft white beaches and the holiday of a lifetime. Visit us for a great deal to the Bahamas.
Tunisia
Tunisia enjoys excellent weather, golden beaches and a beautiful blue sea. Moving away from the beach you will find a country that has a rich and varied past. Discover the secrets of history yourself by exploring all the ruins.
Travel Guides
As far as travel guides are concerned, your best move would be to check out our website at Travel.co.uk
Holidays to Gran Canaria
The Canary Islands await! Book holidays to Gran Canaria online at On The Beach!