<?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: &amp;quot;Opening&amp;quot; non-existing FeatureClass via IGxDialog in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/amp-quot-opening-amp-quot-non-existing/m-p/582577#M15753</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;of course... oh damn&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Im so sorry for creating this thread...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but thank you very much &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jul 2011 13:43:34 GMT</pubDate>
    <dc:creator>SebastianKrings</dc:creator>
    <dc:date>2011-07-20T13:43:34Z</dc:date>
    <item>
      <title>&amp;quot;Opening&amp;quot; non-existing FeatureClass via IGxDialog</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/amp-quot-opening-amp-quot-non-existing/m-p/582575#M15751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to create an Open-Dialog where the user can choose a featureclass from a filegeodatabase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For this I use IGxDialog in combination with the GxFilterFGDBFeatureClassesClass.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The thing is, that I must choose an existing featureclass. Dialog is forcing me to select an exisiting featureclass.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But like in many arcmap tools you can open a gbd and a dataset if you want and then you can type the name of the featureclass you want instead of selecting an existing. If the feature class you typed in does not exist, arcmap will create it in the fgdb. And this is want I want, too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I were able to create a feature in a gbd. But how to get through the dialogs message to that the selected feature does not exist. Because the opendialog will stay. It would help if I just could read the selected path, whether or not the file exists.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And its very important to keep the filter (GxFilterFGDBFeatureClassesClass);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thats my code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;IGxObjectFilter filter = new GxFilterFGDBFeatureClassesClass();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IEnumGxObject selektion = null;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IGxDialog dialog = new GxDialog();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dialog.ObjectFilter = filter;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dialog.Title = "Output Feature wählen";
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dialog.ButtonCaption = "OK";

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (dialog.DoModalOpen(0, out selektion))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IGxObject obj = selektion.Next();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tbOutputFeature.Text = obj.FullName;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any ideas and help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 12:15:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/amp-quot-opening-amp-quot-non-existing/m-p/582575#M15751</guid>
      <dc:creator>SebastianKrings</dc:creator>
      <dc:date>2011-07-20T12:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: "Opening" non-existing FeatureClass via IGxDialog</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/amp-quot-opening-amp-quot-non-existing/m-p/582576#M15752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You're calling DoModalOpen, which is a dialog for opening.&amp;nbsp; You can't open what doesn't exist so that's why it gives you that message.&amp;nbsp; You should call DoModalSave.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 13:36:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/amp-quot-opening-amp-quot-non-existing/m-p/582576#M15752</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2011-07-20T13:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: "Opening" non-existing FeatureClass via IGxDialog</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/amp-quot-opening-amp-quot-non-existing/m-p/582577#M15753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;of course... oh damn&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Im so sorry for creating this thread...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but thank you very much &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 13:43:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/amp-quot-opening-amp-quot-non-existing/m-p/582577#M15753</guid>
      <dc:creator>SebastianKrings</dc:creator>
      <dc:date>2011-07-20T13:43:34Z</dc:date>
    </item>
  </channel>
</rss>

