MapPoint Forums

MapForums

Community of MapPoint and Virtual Earth Users and Developers




Visual Studio C# MP2002 Control creation

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 ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Today's Posts Twitter Feed Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-29-2002
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Visual Studio C# MP2002 Control creation

Hi,

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 12-05-2002
John Meyer's Avatar
Senior Member
Blue Belt
 
Join Date: Jul 2002
Posts: 479
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
control, creation, mp2002, studio, visual


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

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


All times are GMT -5. The time now is 01:56 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 RC2
MP2K Magazine
Visitor Map

Menorca Holiday
Enjoy a Menorca holiday at a great rate when booked through UlookUbook!



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59