<?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 Code to open a specific map in Arcmap in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/code-to-open-a-specific-map-in-arcmap/m-p/46170#M253</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an Access 2010 database that stores street addresses. Whilst in access looking at a specific record I would like to be able to add a button that says "View on Map". I have the code to open Arcmap but it only opens to the main program and not the specific map I want. Is there a method of opening a specific map? The code I am using so far is :&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Private Sub View_on_Map_Click()&lt;/P&gt;&lt;P&gt;Dim stAppName As String&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; stAppName = "C:\Program Files (x86)\ArcGIS\Desktop10.1\bin\ArcMap.exe"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Call Shell(stAppName, 1)&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it is possible to open to the correct map I would then like to be able to zoom to the specific location associated with the Access database. I would really appreciate some examples of code to do this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Jul 2014 19:02:44 GMT</pubDate>
    <dc:creator>AlanWheeler</dc:creator>
    <dc:date>2014-07-25T19:02:44Z</dc:date>
    <item>
      <title>Code to open a specific map in Arcmap</title>
      <link>https://community.esri.com/t5/developers-questions/code-to-open-a-specific-map-in-arcmap/m-p/46170#M253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an Access 2010 database that stores street addresses. Whilst in access looking at a specific record I would like to be able to add a button that says "View on Map". I have the code to open Arcmap but it only opens to the main program and not the specific map I want. Is there a method of opening a specific map? The code I am using so far is :&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Private Sub View_on_Map_Click()&lt;/P&gt;&lt;P&gt;Dim stAppName As String&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; stAppName = "C:\Program Files (x86)\ArcGIS\Desktop10.1\bin\ArcMap.exe"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Call Shell(stAppName, 1)&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it is possible to open to the correct map I would then like to be able to zoom to the specific location associated with the Access database. I would really appreciate some examples of code to do this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2014 19:02:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/code-to-open-a-specific-map-in-arcmap/m-p/46170#M253</guid>
      <dc:creator>AlanWheeler</dc:creator>
      <dc:date>2014-07-25T19:02:44Z</dc:date>
    </item>
  </channel>
</rss>

