Community of VE/MapPoint Users and Developers
This is a discussion on xlmicrosoft Mappoint within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; So I'm calling Mappoint from within a VBA subroutine... Dim SysApp As New MapPoint.Application Dim SysMap As MapPoint.Map Dim SysRoute ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| xlmicrosoft Mappoint Dim SysApp As New MapPoint.Application Dim SysMap As MapPoint.Map Dim SysRoute As MapPoint.Route Dim SysLoc1 As MapPoint.Location Dim SysLoc2 As MapPoint.Location Application.ActivateMicrosoftApp xlMicrosoftMappoint and the calculator pops up instead... I've opened Mappoint before from within an excel function, but this is silly... My references are up mappoint 13.0 object library, mappoint utilities 1.0 type library, but am getting a "conflict message" when referencing mappoint control 13.0... thanks for any input, andriy Last edited by andriy; 01-14-2008 at 01:31 PM. |
| |||
| Re: xlmicrosoft Mappoint
xlMicrosoftMappoint isn't a defined constant, so VBA doesn't really know what it's activating. You probably want to simply activate the MapPoint application you already created in your variable "SysApp", by using the following: Code: SysApp.Visible=true SysApp.UserControl=true SysApp.Activate() -Paul |
![]() |
| Tags |
| microsoft mappoint |
| ||||
| Posted By | For | Type | Date | |
| About MP2Kmag - MP2K Magazine | This thread | Refback | 01-16-2008 05:13 AM | |
| Author - MP2K Magazine | This thread | Refback | 01-16-2008 05:13 AM | |
| The Magazine for MapPoint - MP2K Magazine | This thread | Refback | 01-15-2008 07:05 PM | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |