Community of VE/MapPoint Users and Developers
This is a discussion on MapPoint Control created dynamically within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; the following fails dim mp as MappointControl set mp = CreateObject( "MapPoint.Control 0.9" ) error: ActiveX component can't create object ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| MapPoint Control created dynamically dim mp as MappointControl set mp = CreateObject( "MapPoint.Control 0.9" ) error: ActiveX component can't create object set mp = CreateObject( "MapPoint.Control" ) error: Type Mismatch Is there a way to create a Mappoint object without placing it on a form? |
| ||||
|
If you don't need the ActiveX Control on the form why not just use Automation? Most of the samples in the help file are using that method, not the MapPoint ActiveX Control. Consider this sample from the help file: "OpenMap method (Application)" Sub OpenSampleMap() Dim objApp As New MapPoint.Application 'Set up application objApp.Visible = True objApp.UserControl = True 'Open a sample map objApp.OpenMap objApp.Path + "\Samples\Clients.ptm" End Sub If you don't need to see the map to do what you are doing, set the objApp.Visible = False
__________________ John http://www.support-pc.com Order MapPoint 2006 Here https://secure.mp2kmag.com/?refer=support-PC |
![]() |
| Tags |
| control, created, dynamically, mappoint |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can Streets and Trips open maps created with MapPoint? | alwasl8 | MapPoint 2006/2009 Discussion | 1 | 08-17-2005 05:48 PM |
| Re: Keyboard control in mappoint activex control | djcapslock | MapPoint 2006/2009 Discussion | 1 | 03-10-2005 11:16 AM |
| Dynamically updating a map point without refreshing in Web | Anonymous | MapPoint Web Service and Virtual Earth | 0 | 07-23-2004 01:22 PM |
| I am new to MapPoint and have created a push pin m.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 01-30-2002 02:14 PM |
| Can MP2K link with SQL 7.0 data dynamically?.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 08-03-1999 12:48 AM |