<?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: Create Connection Folder in ArcCatalog through ArcMap VB.NET in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/create-connection-folder-in-arccatalog-through/m-p/443834#M12070</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have this requirement also, I wrote this prototype quickly in VBA, it seems to work.&amp;nbsp; I am going to do it .net next.&amp;nbsp; Without the save I was getting the same thing as Kevin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim gxCatalog As IGxCatalog
&amp;nbsp;&amp;nbsp;&amp;nbsp; Set gxCatalog = New gxCatalog
&amp;nbsp;&amp;nbsp;&amp;nbsp; gxCatalog.ConnectFolder ("c:\")
&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim gxFile As IGxFile
&amp;nbsp;&amp;nbsp;&amp;nbsp; Set gxFile = gxCatalog
&amp;nbsp;&amp;nbsp;&amp;nbsp; gxFile.Save
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 19:51:16 GMT</pubDate>
    <dc:creator>AlexanderGray</dc:creator>
    <dc:date>2021-12-11T19:51:16Z</dc:date>
    <item>
      <title>Create Connection Folder in ArcCatalog through ArcMap VB.NET</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/create-connection-folder-in-arccatalog-through/m-p/443832#M12068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to create a connection folder in ArcCatalog through an extension on start up using the following code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim gCatalog As IGxCatalog = New GxCatalogClass&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gCatalog.ConnectFolder(Environ("USERPROFILE") &amp;amp; "\My Documents\ArcGIS\")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The code creates the folder connection in the ArcCatalog Window within ArcMap.&amp;nbsp; However, the folder connection is not seen by dialogs such as AddData, Output Data, or even the ArcCatalog Application itself.&amp;nbsp; I need the folder to be recognized in these areas.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I need to reference the ArcCatalog application in some way.&amp;nbsp; But not sure how to reference it via an ArcMap extension .dll.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have come across this file path to reference the User Specific ArcCatalog settings.&amp;nbsp; But still not sure how to incorporate this into the code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\Documents and Settings\&amp;gt;&amp;gt;yourUserProfile&amp;lt;&amp;lt;\Application Data\ESRI\ArcCatalog\ArcCatalog.gx &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2011 12:54:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/create-connection-folder-in-arccatalog-through/m-p/443832#M12068</guid>
      <dc:creator>KevinThomas1</dc:creator>
      <dc:date>2011-07-27T12:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Create Connection Folder in ArcCatalog through ArcMap VB.NET</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/create-connection-folder-in-arccatalog-through/m-p/443833#M12069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Kevin&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you ever find a solution to your problem, I want to connect folders from ArcMap also.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2011 07:42:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/create-connection-folder-in-arccatalog-through/m-p/443833#M12069</guid>
      <dc:creator>ChrisMatthews</dc:creator>
      <dc:date>2011-10-14T07:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Create Connection Folder in ArcCatalog through ArcMap VB.NET</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/create-connection-folder-in-arccatalog-through/m-p/443834#M12070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have this requirement also, I wrote this prototype quickly in VBA, it seems to work.&amp;nbsp; I am going to do it .net next.&amp;nbsp; Without the save I was getting the same thing as Kevin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim gxCatalog As IGxCatalog
&amp;nbsp;&amp;nbsp;&amp;nbsp; Set gxCatalog = New gxCatalog
&amp;nbsp;&amp;nbsp;&amp;nbsp; gxCatalog.ConnectFolder ("c:\")
&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim gxFile As IGxFile
&amp;nbsp;&amp;nbsp;&amp;nbsp; Set gxFile = gxCatalog
&amp;nbsp;&amp;nbsp;&amp;nbsp; gxFile.Save
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:51:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/create-connection-folder-in-arccatalog-through/m-p/443834#M12070</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2021-12-11T19:51:16Z</dc:date>
    </item>
  </channel>
</rss>

