Community of VE/MapPoint 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 ...
| |||||||
| 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 |
Inclusive Ski Holidays
For inclusive ski holidays to suit your budget, visit Holiday Hypermarket online today. Some stunning ski slopes are just a few clicks away.
City Breaks
Book a city break with Travel Counsellors. A personal travel advisor will help you make the most of your city break.
Thailand Holiday
A Thailand Holiday has much to offer with historic culture, lively arts, beautiful beaches, a good nightlife, friendly and hospitable people and one of the best cuisines in the world.
Nile Cruises
Nile cruises are one of the best ways to discover the riches of Egypt. See ancient ruins and lush verdure from the River Nile. Book today!
Holiday
Searching for the perfect holiday? Well check out ULookUBook online to find out all about your destination and also to book a great value holiday.
Bargain Holidays
To plan your holidays at bargain prices, use Travel.co.uk to explore all the possibilities.
Cheap Holidays to Goa
Dine on delightful seafood in west India. Find information on cheap holidays in Goa at On The Beach.