Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 2 of 2

Visual Studio C# MP2002 Control creation

This is a discussion on Visual Studio C# MP2002 Control creation within the MapPoint Desktop 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 ...

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    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

  2. #2
    John Meyer's Avatar
    John Meyer is offline Senior Member Blue Belt
    Join Date
    Jul 2002
    Posts
    478
    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. tutorial mappoint in VB6.0 visual studio
    By lucci56 in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 07-14-2006, 08:06 AM
  2. Visual Studio
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 10-15-2004, 07:57 PM
  3. visual studio.netq
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 5
    Last Post: 10-31-2003, 11:59 AM
  4. MapPoint 2002 ActiveX control and Visual Studio .NET 2003
    By chulaka in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 09-30-2003, 10:35 AM
  5. Accessing Mappoint 2002 via Visual Studio .NET 2003
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 08-14-2003, 11:01 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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