MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Mappoint control problem

This is a discussion on Mappoint control problem within the MapPoint 2006/2009 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 ...


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

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-22-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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
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 03-22-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
The "funny" part is when i put it in a groupbox i works great. very strange. Maybe someone knows what is going on
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


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
Problem instantiating MP Active X control in a VB and VC++ Brent MapPoint 2006/2009 Discussion 2 05-10-2006 12:25 PM
Re: Keyboard control in mappoint activex control djcapslock MapPoint 2006/2009 Discussion 1 03-10-2005 10:16 AM
ActiveX Control -- problem overriding "DragBehavior&quo scotty MapPoint 2006/2009 Discussion 0 02-14-2005 04:20 PM
Using MapPoint Control for Web App Attila MapPoint 2006/2009 Discussion 1 01-11-2005 09:36 AM
Problem with MapPoint control redraw in Visual c++ Anonymous MapPoint 2006/2009 Discussion 2 11-21-2004 04:04 PM


All times are GMT -5. The time now is 01:21 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5
MP2K Magazine
Visitor Map

Menorca Flights
Visit the unspoilt Mediterranean island of Menorca. Menorca flights are low cost flights when you book with Holiday Hypermarket.

City Break Europe
Take a city break in Europe. Travel Counsellors can help plan and book your European city break.

Holiday to Thailand
Want to go somewhere new? Book a low cost holiday to Thailand at dealchecker.co.uk. See the stunning national parks and uninhabited islands.

Cuba Holidays
Cuba holidays offer an exciting cultural and wonderful culinary experience. Book with The Holiday Place for a great deal.

Cheap Cyprus Holidays
Finding cheap Cyprus holidays can be difficult unless you know where to look and where to book. With ulookubook.com you can conduct a simple search to find the latest holiday deals to your particular destination.

Holiday
For the holiday of your life, that is easy to plan, visit Travel.co.uk to see all the options.

Holidays to Lanzarote
Not been to the Canary Islands yet? What are you waiting for! Get information on holidays to Lanzarote at On The Beach.


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