<?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: Folder Browser Dialog (Is there any such thing as a Dataset Browser Dialog?) in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/folder-browser-dialog-is-there-any-such-thing-as-a/m-p/606994#M16258</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, the GXDialog can do that.&amp;nbsp; You need to set its object filters and show with open or save.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Apr 2012 18:59:01 GMT</pubDate>
    <dc:creator>AlexanderGray</dc:creator>
    <dc:date>2012-04-19T18:59:01Z</dc:date>
    <item>
      <title>Folder Browser Dialog (Is there any such thing as a Dataset Browser Dialog?)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/folder-browser-dialog-is-there-any-such-thing-as-a/m-p/606993#M16257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have written code to allow my users to click a button, and the folder browser dialog opens, allowing them to navigate to a&amp;nbsp; desired folder to save the output of an eliminate operation.&amp;nbsp; My users want to be able to browse to a dataset, and save the results inside of a dataset.&amp;nbsp; The folder browser dialog does not display datasets.&amp;nbsp; I am using VB.Net 2008, and I don't see anything in the toolbox that would allow me to browse datasets in a folder.&amp;nbsp; I'm sure it can be done, but how?&amp;nbsp; Any help would be greatly appreciated!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2012 18:54:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/folder-browser-dialog-is-there-any-such-thing-as-a/m-p/606993#M16257</guid>
      <dc:creator>USFS_AGOLAdministrator</dc:creator>
      <dc:date>2012-04-19T18:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Folder Browser Dialog (Is there any such thing as a Dataset Browser Dialog?)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/folder-browser-dialog-is-there-any-such-thing-as-a/m-p/606994#M16258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, the GXDialog can do that.&amp;nbsp; You need to set its object filters and show with open or save.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2012 18:59:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/folder-browser-dialog-is-there-any-such-thing-as-a/m-p/606994#M16258</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2012-04-19T18:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Folder Browser Dialog (Is there any such thing as a Dataset Browser Dialog?)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/folder-browser-dialog-is-there-any-such-thing-as-a/m-p/606995#M16259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Awesome, I'll give that a try, thanks for the reply&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2012 19:00:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/folder-browser-dialog-is-there-any-such-thing-as-a/m-p/606995#M16259</guid>
      <dc:creator>USFS_AGOLAdministrator</dc:creator>
      <dc:date>2012-04-19T19:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Folder Browser Dialog (Is there any such thing as a Dataset Browser Dialog?)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/folder-browser-dialog-is-there-any-such-thing-as-a/m-p/606996#M16260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;no problem, just mark it as answered if it works&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2012 19:02:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/folder-browser-dialog-is-there-any-such-thing-as-a/m-p/606996#M16260</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2012-04-19T19:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Folder Browser Dialog (Is there any such thing as a Dataset Browser Dialog?)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/folder-browser-dialog-is-there-any-such-thing-as-a/m-p/606997#M16261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is the code for this.&amp;nbsp; It is allowing me to navigate and see the different .gdb's and feature datasets, but when I click on the dataset that I want to save my new layer into, it only saves it to the geodatabase, not to the feature dataset.&amp;nbsp; The last line of this code (FinalLocation.FullName), returns the pathname to the gdb, not the dataset, even though I have selected the dataset in the dialog.&amp;nbsp; I need to have it return the dataset name in the path as well, so the new layer will be saved in the dataset, not the gdb.&amp;nbsp; Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim gxdial As IGxDialog = New GxDialog
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim gxobjfilter As IGxObjectFilter = New GxFilterDatasets

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gxdial.ObjectFilter = gxobjfilter

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim gxEnum As IEnumGxObject = Nothing

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If Not gxdial.DoModalOpen(0, gxEnum) Then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Exit Sub
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gxdial.RememberLocation = True

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Me.txtOutputPath.Text = gxdial.FinalLocation.FullName

&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 02:00:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/folder-browser-dialog-is-there-any-such-thing-as-a/m-p/606997#M16261</guid>
      <dc:creator>USFS_AGOLAdministrator</dc:creator>
      <dc:date>2021-12-12T02:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Folder Browser Dialog (Is there any such thing as a Dataset Browser Dialog?)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/folder-browser-dialog-is-there-any-such-thing-as-a/m-p/606998#M16262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When you call DoModalOpen, the selected item(s) are returned in the IEnumGxObject reference that you pass into the method.&amp;nbsp; However, since you are using the dialog to browse to a Save location then you should be calling DoModalSave instead of DoModalOpen.&amp;nbsp; It's been a while since I've used this dialog for saving things but if I remember right, you have to build the full path by combining the FinalLocation property and the Name property.&amp;nbsp; I could be wrong on that though.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2012 12:20:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/folder-browser-dialog-is-there-any-such-thing-as-a/m-p/606998#M16262</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2012-04-20T12:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Folder Browser Dialog (Is there any such thing as a Dataset Browser Dialog?)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/folder-browser-dialog-is-there-any-such-thing-as-a/m-p/606999#M16263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;the enumGxObject has the object or objects you selected&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim gxobj As IGxObject = gxEnum.Next&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Debug.WriteLine(gxobj.FullName)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FullName has the whole path with the directory gdb and dataset.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2012 12:29:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/folder-browser-dialog-is-there-any-such-thing-as-a/m-p/606999#M16263</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2012-04-20T12:29:58Z</dc:date>
    </item>
  </channel>
</rss>

