black_fox_71
04-22-2008, 02:22 AM
hello
i develop an aplication with visual c# 2005 using an API of mappoint 2006. When i load a card (of europe for my case :p), i have the following problems :
System.runtime.interropservice.Comeexception s'est produite dans axinterrop.mappoint 2005
Information supplémentaires : le fichier que vous avez choisi n'est un pas un fichier mappoint 2005
in english : the file is not a mappoint 2005 map ????? strange:huh2:
So i use the following code to load the map :
string objtemplate = "D:/bidule.ptt"; // just example
mappoint.map objMap = null;
axMappointcontrol1.NewMap(objtemplate);
objMap = axMappointControl1.ActiveMap;
objMap.MapStyle= MapPoint.GeoMapStyle.geoMapStyleData;
i used the good references of mappoint, i use the good map too (europe map, it's on the good path). Moreover i tested my code on an other computer, and it works :deal:.
I want to know, like i use an old version of excel if the probleme can becom of that ??
If someone can help me :p.
ps : sorry for my english, im french and english course are not the better in the world in france.:smarty:
i develop an aplication with visual c# 2005 using an API of mappoint 2006. When i load a card (of europe for my case :p), i have the following problems :
System.runtime.interropservice.Comeexception s'est produite dans axinterrop.mappoint 2005
Information supplémentaires : le fichier que vous avez choisi n'est un pas un fichier mappoint 2005
in english : the file is not a mappoint 2005 map ????? strange:huh2:
So i use the following code to load the map :
string objtemplate = "D:/bidule.ptt"; // just example
mappoint.map objMap = null;
axMappointcontrol1.NewMap(objtemplate);
objMap = axMappointControl1.ActiveMap;
objMap.MapStyle= MapPoint.GeoMapStyle.geoMapStyleData;
i used the good references of mappoint, i use the good map too (europe map, it's on the good path). Moreover i tested my code on an other computer, and it works :deal:.
I want to know, like i use an old version of excel if the probleme can becom of that ??
If someone can help me :p.
ps : sorry for my english, im french and english course are not the better in the world in france.:smarty: