<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: open an mdb or accdb in arcpro sdk in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/open-an-mdb-or-accdb-in-arcpro-sdk/m-p/1336014#M10519</link>
    <description>&lt;P&gt;This article explains the reasons why support for personal geodatabases was dropped with ArcGIS Pro:&amp;nbsp;&lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-pro/data-management/its-not-personal/" target="_blank"&gt;It's Not Personal: A quick history of the geodatabase and why personal geodatabases are not in ArcGIS Pro (esri.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;What release of ArcGIS Pro are you using?&amp;nbsp; &amp;nbsp;You can write a 'Plug-in Datasource' extension using the Pro SDK to implement a reader for your .MDB access database (aka 'personal geodatabase').&amp;nbsp; 'Plug-in Datasources' only allow read access to the data and hence there is no easy way to write to an access database.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would suggest writing your ArcGIS Pro add-in so that it reads and writes to a File Geodatabase instead of the old 'personal geodatabase'.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if you're interested in the 'personal geodatabase Plug-in DataSource' for ArcGIS Pro.&amp;nbsp; &amp;nbsp;I can probably find the code for that.&amp;nbsp; I think the Plug-in DataSource is using this NuGet to access the .MDB files:&lt;BR /&gt;&lt;A href="https://www.nuget.org/packages/System.Data.OleDb/7.0.0" target="_blank"&gt;NuGet Gallery | System.Data.OleDb 7.0.0&amp;nbsp;&amp;nbsp;&lt;/A&gt;This will work in you x64 Add-in but is limited to access of tabular data only (no spatial data).&lt;/P&gt;</description>
    <pubDate>Sat, 07 Oct 2023 00:03:03 GMT</pubDate>
    <dc:creator>Wolf</dc:creator>
    <dc:date>2023-10-07T00:03:03Z</dc:date>
    <item>
      <title>open an mdb or accdb in arcpro sdk</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/open-an-mdb-or-accdb-in-arcpro-sdk/m-p/1335761#M10516</link>
      <description>&lt;P&gt;I'm migrating a Desktop Add-in to ArcPro.&lt;/P&gt;&lt;P&gt;The code opens an .mdb file using adodb and reads and writes to it.&lt;/P&gt;&lt;P&gt;I can't get any of the COM Microsoft ActiveX Data Objects (adodb) libraries to work with the&amp;nbsp; 'ArcGIS Pro Module Add-in' template.&amp;nbsp; I get the same error with all versions when I try to open my connection:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"Provider cannot be found. It may not be properly installed."&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Changing the ADODB --&amp;gt; 'Embed Interop Type' property to 'No' doesn't help either.&amp;nbsp; I still get the same error.&lt;/P&gt;&lt;P&gt;Any ideas how I can open an mdb (or even an accdb) file using the ArcGIS Pro sdk?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 14:17:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/open-an-mdb-or-accdb-in-arcpro-sdk/m-p/1335761#M10516</guid>
      <dc:creator>ToddDoerr1</dc:creator>
      <dc:date>2023-10-06T14:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: open an mdb or accdb in arcpro sdk</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/open-an-mdb-or-accdb-in-arcpro-sdk/m-p/1335798#M10517</link>
      <description>&lt;P&gt;At the risk of telling you something you already know, ESRI doesn't directly support MS Access in Pro but it is technically possible using OLE connections. ESRI has &lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-pro/data-management/bridging-data-create-and-use-ole-db-connections-in-arcgis-pro/" target="_blank" rel="noopener"&gt;a blog post about this&lt;/A&gt; so I think you'll need to find the appropriate SDK bits that accomplish what is described in the blog post.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 15:18:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/open-an-mdb-or-accdb-in-arcpro-sdk/m-p/1335798#M10517</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2023-10-06T15:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: open an mdb or accdb in arcpro sdk</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/open-an-mdb-or-accdb-in-arcpro-sdk/m-p/1336014#M10519</link>
      <description>&lt;P&gt;This article explains the reasons why support for personal geodatabases was dropped with ArcGIS Pro:&amp;nbsp;&lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-pro/data-management/its-not-personal/" target="_blank"&gt;It's Not Personal: A quick history of the geodatabase and why personal geodatabases are not in ArcGIS Pro (esri.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;What release of ArcGIS Pro are you using?&amp;nbsp; &amp;nbsp;You can write a 'Plug-in Datasource' extension using the Pro SDK to implement a reader for your .MDB access database (aka 'personal geodatabase').&amp;nbsp; 'Plug-in Datasources' only allow read access to the data and hence there is no easy way to write to an access database.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would suggest writing your ArcGIS Pro add-in so that it reads and writes to a File Geodatabase instead of the old 'personal geodatabase'.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if you're interested in the 'personal geodatabase Plug-in DataSource' for ArcGIS Pro.&amp;nbsp; &amp;nbsp;I can probably find the code for that.&amp;nbsp; I think the Plug-in DataSource is using this NuGet to access the .MDB files:&lt;BR /&gt;&lt;A href="https://www.nuget.org/packages/System.Data.OleDb/7.0.0" target="_blank"&gt;NuGet Gallery | System.Data.OleDb 7.0.0&amp;nbsp;&amp;nbsp;&lt;/A&gt;This will work in you x64 Add-in but is limited to access of tabular data only (no spatial data).&lt;/P&gt;</description>
      <pubDate>Sat, 07 Oct 2023 00:03:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/open-an-mdb-or-accdb-in-arcpro-sdk/m-p/1336014#M10519</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2023-10-07T00:03:03Z</dc:date>
    </item>
  </channel>
</rss>

