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

Mappoint control problem

This is a discussion on Mappoint control problem within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hello, i have a problem with vb.net and mappoint. When i add the control to the form and use this ...

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

    Mappoint control problem

    Hello, i have a problem with vb.net and mappoint. When i add the control to the form and use this code

    Try
    AxMappointControl1.NewMap(MapPoint.GeoMapRegion.ge oMapEurope)
    Catch ex As Exception
    MessageBox.Show(ex.Message)
    End Try

    Everything works fine and perfect, however, when i make a vb.net application with mutltiple forms which i load in a form with panels and the mappoint control to one of the forms i get the error : object reference not set to an object. An other error i got was mappoint could not load. unknown error. at line AxMappointControl1.NewMap(MapPoint.GeoMapRegion.ge oMapEurope)

    Does anyone know how i can use the mappoint control with multiple forms ?

    Thanks in advance

  2. #2
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    The "funny" part is when i put it in a groupbox i works great. very strange. Maybe someone knows what is going on

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Problem instantiating MP Active X control in a VB and VC++
    By Brent in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 05-10-2006, 01:25 PM
  2. Re: Keyboard control in mappoint activex control
    By djcapslock in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 03-10-2005, 11:16 AM
  3. ActiveX Control -- problem overriding "DragBehavior&quo
    By scotty in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 02-14-2005, 05:20 PM
  4. Using MapPoint Control for Web App
    By Attila in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 01-11-2005, 10:36 AM
  5. Problem with MapPoint control redraw in Visual c++
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 11-21-2004, 05:04 PM

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