Community of MapPoint and Virtual Earth Users and Developers
This is a discussion on Spatial Data Import COM Add-in within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I'm trying to access the Spatial Data Import COM Add-in from within my own vb application. I cannot seem to ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Spatial Data Import COM Add-in Here is the below code i have tried: Private Declare Sub MyDisplay Lib "C:\Program Files\Microsoft Visual Studio\Common\MSDev98\AddIns\SpatialDataImportCode \SpatialDataImport.dll" Alias "Display" (omMap As Map, oConnect As Connect) Call MyDisplay The above code gives an error saying it cannot find the entry ("Display") point for the dll. ------------------------------------------------------------------------- I have also tried: Set oAddIns = oApp.AddIns Set oMyAddIn = oAddIns.Connect("SpatialDataImport.Connect") oMyAddIn.Display But, it also dies saying that the object does not support the "Display" Method. From what I can tell, the Display method is the only public function in the spatial data import code. I CAN get the add in to work, if I do this manually through the actuall Microsoft Mappoint application. Tools -> Com Add-ins... and i can then load my esri file, but I cannot automate the process in my own VB application with the mappoint control. Anyone have any ideas - my last idea would be to just do it manually, but then I cannot get the "File, Edit, View..." Toolbar to display - only the toolbars below it. Any Ideas? Thanks, Jamey |
![]() |
| Tags |
| addin, data, import, spatial |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| More Spatial Data Import Q's | cabbage | MapPoint 2006/2009 Discussion | 2 | 06-16-2006 11:47 AM |
| Spatial data import | Les Wilcock | MapPoint 2006/2009 Discussion | 5 | 05-18-2006 10:22 AM |
| Spatial Data Import | Dazzer | MapPoint 2006/2009 Discussion | 2 | 04-25-2006 06:19 AM |
| Spatial Data Import COM Add-In Not Installing | Anonymous | MapPoint 2006/2009 Discussion | 1 | 08-05-2005 02:44 AM |
| Using the Spatial Data Import Com Add-in, I have h.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 10-25-2001 06:05 PM |
Lanzarote Holiday
Enjoy a Lanzarote holiday when you check out the offers on UlookUbook and save cash!