Community of MapPoint and Virtual Earth Users and Developers
This is a discussion on Visual Studio C# MP2002 Control creation within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, As many of your other users, I am trying to a implement MP2002 control in my ASP page, using ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Visual Studio C# MP2002 Control creation As many of your other users, I am trying to a implement MP2002 control in my ASP page, using C#. You have many "how-to" examples in VB,...not in C#,...so I pasted in what I have. //Create new Map MappointControlClass ctlMap1 = new MapPoint.MappointControlClass(); ctlMap1.NewMap(MapPoint.GeoMapRegion.geoMapNorthAm erica); ctlMap1.ActiveMap = True; // I know it is wrong but where ? I am trying to open a new map on my mappoint control object,...then start coding around that object in "Design-time". Any thoughts ??? Thanks, Jacek |
| ||||
|
I do not know c# but I was wondering if you are sure about the last line, setting the ctlMap1.ActiveMap = True? I would thing the active map is already set from the line right before it? Anyway, If you have not worked it out hopefully someone can jump in and give you a hand. If you do get it working, please post back here so that we can have some C# examples. Thanks. John
__________________ John http://www.support-pc.com Order MapPoint 2006 Here https://secure.mp2kmag.com/?refer=support-PC |
![]() |
| Tags |
| control, creation, mp2002, studio, visual |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| tutorial mappoint in VB6.0 visual studio | lucci56 | MapPoint 2006/2009 Discussion | 1 | 07-14-2006 08:06 AM |
| Visual Studio | Anonymous | MapPoint 2006/2009 Discussion | 1 | 10-15-2004 07:57 PM |
| visual studio.netq | Anonymous | MapPoint 2006/2009 Discussion | 5 | 10-31-2003 11:59 AM |
| MapPoint 2002 ActiveX control and Visual Studio .NET 2003 | chulaka | MapPoint 2006/2009 Discussion | 1 | 09-30-2003 10:35 AM |
| Accessing Mappoint 2002 via Visual Studio .NET 2003 | Anonymous | MapPoint 2006/2009 Discussion | 1 | 08-14-2003 11:01 AM |
Menorca Holiday
Enjoy a Menorca holiday at a great rate when booked through UlookUbook!