View Single Post

  #6 (permalink)  
Old 08-23-2007
Wilfried Wilfried is offline
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,105
Re: VS2008 b2 + Mappoint 2006

Quote:
Originally Posted by ttallskog View Post
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.
Reply With Quote