<?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 IGxDialog missing StartingLocation property? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/igxdialog-missing-startinglocation-property/m-p/648523#M17398</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm developing an Add-in with ArcGIS 10 and VS C# 2008 Express, and using a GxDialog to browse for various types of data. But I am having trouble setting the initial location.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;According to the IGxDialog interface documentation there is a property named StartLocation that can be used to set "The dialog's starting location. This can be an IGxObject or a text-string containing the full name of an object."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, the Object Browser and code completion show only a method named "set_StartingLocation()":&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(see screenshot attachment #1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which will not accept a string:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(see screenshot attachment #2)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is the property missing (or am I missing something), or are we supposed to use the set_StartingLocation() method? If so, I would appreciate some insight on what type of object to pass to it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff Hamblin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Nov 2010 01:24:42 GMT</pubDate>
    <dc:creator>JeffreyHamblin</dc:creator>
    <dc:date>2010-11-16T01:24:42Z</dc:date>
    <item>
      <title>IGxDialog missing StartingLocation property?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/igxdialog-missing-startinglocation-property/m-p/648523#M17398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm developing an Add-in with ArcGIS 10 and VS C# 2008 Express, and using a GxDialog to browse for various types of data. But I am having trouble setting the initial location.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;According to the IGxDialog interface documentation there is a property named StartLocation that can be used to set "The dialog's starting location. This can be an IGxObject or a text-string containing the full name of an object."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, the Object Browser and code completion show only a method named "set_StartingLocation()":&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(see screenshot attachment #1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which will not accept a string:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(see screenshot attachment #2)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is the property missing (or am I missing something), or are we supposed to use the set_StartingLocation() method? If so, I would appreciate some insight on what type of object to pass to it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff Hamblin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Nov 2010 01:24:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/igxdialog-missing-startinglocation-property/m-p/648523#M17398</guid>
      <dc:creator>JeffreyHamblin</dc:creator>
      <dc:date>2010-11-16T01:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: IGxDialog missing StartingLocation property?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/igxdialog-missing-startinglocation-property/m-p/648524#M17399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can't use a string. You have to use a reference to an object.&lt;/SPAN&gt;&lt;BR /&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;&amp;nbsp; object temp = "C:\\";
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gxDialog.set_StartingLocation(ref temp);
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:30:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/igxdialog-missing-startinglocation-property/m-p/648524#M17399</guid>
      <dc:creator>KatrinWalz</dc:creator>
      <dc:date>2021-12-12T03:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: IGxDialog missing StartingLocation property?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/igxdialog-missing-startinglocation-property/m-p/648525#M17400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: jeffhamblin&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you, Katrin!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I had tried everything &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;but&lt;/SPAN&gt;&lt;SPAN&gt; setting the var type as object -- casting, stringbuilder...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Nov 2010 15:58:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/igxdialog-missing-startinglocation-property/m-p/648525#M17400</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2010-11-16T15:58:53Z</dc:date>
    </item>
  </channel>
</rss>

