Community of MapPoint and Bing Maps Users and Developers
This is a discussion on Import Excel/Access files into MapPoint 2009 ActiveX control within the Development forums, part of the MapPoint Desktop Discussion category; Hey: I have a need to import Excel/Access files into MapPoint 2009 ActiveX control on an ASP .NET ASPX page. ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Import Excel/Access files into MapPoint 2009 ActiveX control I have a need to import Excel/Access files into MapPoint 2009 ActiveX control on an ASP .NET ASPX page. There is quite a bit of talk on this forum on how to embed an ActiveX control on an ASPX page using the object tag and the CLS ID. That works fine. However, I cannot find an object model or even discussion of the ability parameters. I am currently doing a proof of concept and I need to be able to do the following: 1) Specify Excel and Access file and import into MapPoint so it shows pushpins (or whatever the user chooses) within the ActiveX control. This would be similiar as if the user used the application 2) Specify map point template for use with the import discussed in step 1 3) Save the map to the user's machine Can anyone point me in the right direction? |
| ||||
| Re: Import Excel/Access files into MapPoint 2009 ActiveX control
All of the MapPoint 2009 objects are documented in the help file. Start MapPoint and look at the help. The programming information is at the end of the contents. What is documented there is actually pretty good - I wish all software APIs had that kind of description! You will see that there is an Application object and a Map object (the application's ActiveMap property). I think the method you want is "ImportData" on the map object? Richard
__________________ Winwaed Software Technology LLC http://www.winwaed.com See http://www.mapping-tools.com for MapPoint Tools See the Geoweb Guru for online mapping |
| |||
| Re: Import Excel/Access files into MapPoint 2009 ActiveX control Quote:
|
| ||||
| Re: Import Excel/Access files into MapPoint 2009 ActiveX control
The ActiveX control (and object model) are the same as the COM objects. ActiveX is simply a Microsoft marketing term for COM - especially controls implemented using COM. If you are happy working with ActiveX/COM in general (I realise that isn't a trivial 'if'!) then it should be relatively simple to understand the VB6 examples and translate them to any COM-aware language. I've used MapPoint from a wide range of languages and typically the only hurdle is getting the language's COM interface to work. Do you have MapPoint installed on the client machines? BTW, Using the desktop version of MapPoint in a webpage is generally a bad idea. There are usually beter options - eg. the Virtual Earth JS control or the Virtual Earth Web Service - the latter is set to replace the MapPoint Web Service which is still an option. Richard
__________________ Winwaed Software Technology LLC http://www.winwaed.com See http://www.mapping-tools.com for MapPoint Tools See the Geoweb Guru for online mapping Last edited by Winwaed; 04-10-2009 at 09:04 AM.. |
| |||
| Re: Import Excel/Access files into MapPoint 2009 ActiveX control Quote:
Yea, there were discussions of Virtual Earth JS but they decided to go MapPoint. Not 100%. Is there command line parameters that I could use for MapPoint? Maybe that is another option. To launch the app via the web page programatically. Another option is a desktop app but each client would nee the app installed and that's another headache. |
| |||
| Re: Import Excel/Access files into MapPoint 2009 ActiveX control
Nope, no command lines. Maybe make a COM Addin that accesses a linked back-end or use Citrix? Mike Mattys |
![]() |
| Tags |
| activex, control, excel or access, files, import, mappoint 2009 |
| ||||
| Posted By | For | Type | Date | |
| The Magazine for MapPoint - MP2K Magazine | This thread | Refback | 04-13-2009 12:38 PM | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Adding the location sensor in MapPoint 2009 to the activex control | lewism | MapPoint Desktop Discussion | 5 | 09-26-2008 09:00 AM |
| Cannot Import Excel Files | GKing | MapPoint Desktop Discussion | 6 | 08-04-2007 05:54 AM |
| MS Access and Mappoint ActiveX Control | Anonymous | MapPoint Desktop Discussion | 3 | 06-26-2004 02:29 PM |
| can´t import excel files | Anonymous | MapPoint Desktop Discussion | 2 | 03-18-2004 03:02 AM |
| Using MP ActiveX Control in Access/Foxpro etc | Anonymous | MapPoint Desktop Discussion | 0 | 02-21-2003 12:51 PM |