AnsweredAssumed Answered

IGxDialog missing StartingLocation property?

Question asked by jeffhamblin on Nov 15, 2010
Latest reply on Nov 16, 2010 by geonetadmin
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.

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."

However, the Object Browser and code completion show only a method named "set_StartingLocation()":
(see screenshot attachment #1)

Which will not accept a string:
(see screenshot attachment #2)

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.

Thanks,
Jeff Hamblin

Outcomes