Quote:
Originally Posted by ttallskog Anyone know if mappoint 2006 workes with vs2008 b2? I have tried to install the ocx control and when draging it onto the center of the form it relocates its self to the upper left corner. Thought this might be normal so i tried to creata a map of europe but this gives a exception with no information.
MapControl(ocx) is called "mapCtl"
code:
--------
Map m;
try{
m = mapCtl.NewMap(MapPoint.GeoMapRegion.geoMapEurope);
}
catch(Exception ex){
}
Any idears? |
probably a problem of VS2008. For the place of the control, you can try to have a panel, put it on the panel and align it to client. Should work.