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 02:13 PM |
| MapPointControl.ocx | Anonymous | MapPoint 2006/2009 Discussion | 1 | 03-25-2005 10:46 AM |
| map loading problem with MappointControl.ocx | yooishung | MapPoint 2006/2009 Discussion | 1 | 06-22-2004 09:34 AM |
| newmap | yvdp | MapPoint 2006/2009 Discussion | 7 | 05-21-2004 05:48 PM |
| newmap slower with mappointcontrol than with Mappoint2004 ? | Syd | MapPoint 2006/2009 Discussion | 0 | 10-21-2003 11:52 AM |