Community of MapPoint and Virtual Earth Users and Developers
This is a discussion on Datasourcemoniker issue with Access .mde file within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I have an Access process that imports a datasource from the current database I am using, eventually for use in ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Datasourcemoniker issue with Access .mde file zDataSourceZ = Application.CurrentProject.FullName & "!qry_ZipData" Set objDataSet1 = objDataSets.ImportData(zDataSourceZ, , geoCountryUnitedStates_Const, , geoImportAccessQuery) This works if the database I am using is an .mdb However, if I make the database an .mde (by converting it to executible code), I get the following error when at the Set object line of code: Error number - 4007 Error Description - Cannot connect with the specified DataSourceMoniker. The only thing that changes is the file extension on the current database---> .mdb to .mde Why? Does the ImportData method not work with .mde files? If not, what will work with .mde files? Thanks, |
| |||
| Re: Datasourcemoniker issue with Access .mde file
Hi, I recall 4007 is 'unrecognised database format'. So you may be right about the unreadable format.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| Tags |
| access, datasourcemoniker, file, issue, mde |
| ||||
| Posted By | For | Type | Date | |
| The Magazine for MapPoint - MP2K Magazine | This thread | Refback | 03-18-2008 10:02 AM | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| java issue | Anonymous | MapPoint 2006/2009 Discussion | 1 | 03-01-2005 05:11 PM |
| Stored Procedure in DataSourceMoniker of ImportData medthod | webjagger | MapPoint 2006/2009 Discussion | 2 | 06-25-2004 02:55 AM |
| vb6 server issue | starbuck | MapPoint 2006/2009 Discussion | 1 | 04-15-2004 10:27 AM |
| to import data of one access file into another using vb code | bushi_khan | MapPoint 2006/2009 Discussion | 0 | 10-14-2003 02:12 AM |
| [b]How do I export data into an ACCESS (mdb) file using VB6? | rmozes | MapPoint 2006/2009 Discussion | 0 | 08-05-2003 08:17 AM |
Menorca Holiday
Enjoy a Menorca holiday at a great rate when booked through UlookUbook!