View Single Post

  #2 (permalink)  
Old 04-08-2005
Winwaed's Avatar
Winwaed Winwaed is offline
Mapping-Tools.com
Red Belt
 
Join Date: Feb 2004
Posts: 890
Blog Entries: 9
In C++, I use


Code:
	_ApplicationPtr myAppPtr;

	if ( myAppPtr.CreateInstance(appObjName) != 0)
	{
		// error
	}
and set appObjName to "MapPoint.Application.NA" or "MapPoint.Application.EU"

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
Reply With Quote