Community of VE/MapPoint Users and Developers
This is a discussion on newmap problem with Mappointcontrol in VB.NET within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, I just started to test mappoint 2004 in VB.NET and have no experience in vb.net. I can put the ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| newmap problem with Mappointcontrol in VB.NET I just started to test mappoint 2004 in VB.NET and have no experience in vb.net. I can put the mappointcontrol1 on the windows form , when I try to put code (in the form load event or button click event) mappointcontrol1.newmap =>still ok but when I add geoMapEurope this is not working anymore. ( Of course I installed mappoint 2004 europe) vb.net put a line under geoMapEurope and gives a debug error after starting. In vb6 it works perfect.... What can I do? Thanks for help Wim |
| |||
| newmap
Hi Nick, Thanks for your help, this way it (NewMap) works!! I found out that Mappointcontrol.OpenMap("C:\test.ptm") works to if I save first a map. In the object browser I found that the OpenMap method needs a string as an argument but the NewMap method needs an object. I think this is the difference with vb6 no? Best regards, Wim |
| ||||
| Newmap
I've only started using MP2004 with VB.Net fairly recently, and looking round the web at sample code, it seems that there are quite a few 'subtle' changes in the syntax between MP2002 and 2004. Just to make it worse, most of the code 'in the wild' is for VB6, which doesn't really help very much!! You've probably just found your first example! |
![]() |
| Tags |
| mappointcontrol, newmap, problem, vbnet |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MapPointControl Windowless / VB6 | Guido Mitschke | MapPoint 2006/2009 Discussion | 3 | 12-29-2005 01:13 PM |
| MapPointControl.ocx | Anonymous | MapPoint 2006/2009 Discussion | 1 | 03-25-2005 09:46 AM |
| map loading problem with MappointControl.ocx | yooishung | MapPoint 2006/2009 Discussion | 1 | 06-22-2004 08:34 AM |
| newmap | yvdp | MapPoint 2006/2009 Discussion | 7 | 05-21-2004 04:48 PM |
| newmap slower with mappointcontrol than with Mappoint2004 ? | Syd | MapPoint 2006/2009 Discussion | 0 | 10-21-2003 10:52 AM |
Cheap flights to Antalya
Book cheap flights to Antalya using Holiday Hypermarket's search. You'll be on your way to Turkey's Sunny Southern Coast in no time.
Spain Weather
Check Spain Weather before you travel. We provide information on Spain including weather, flights and accommodation.
Holiday in Turkey
A Holiday in Turkey is great value when you book with dealchecker.co.uk. There is an abundance of things to see and do. Check out the well-preserved Greco-Roman ruins.
Cyprus Holidays
Cyprus holidays will offer you a wealth of activities all in the most beautiful surroundings. Relish the beauty of Cyprus on a short break.
Cheap Greece Holidays
For cheap Greece holidays make sure you know when to book and who to book with. Visit ulookubook.com to get help with doing both of those things. Why not time your visit with a Greek festival?
Holidays Package
Make use of our service at Travel.co.uk to compare holidays. We can find you a package deal that will delight you.
Holidays to Portugal
Want to take your family on a summer holiday? Visit On The Beach for more information on holidays to Portugal.