How to set start location for IAddDataDialog

576
2
12-28-2011 01:36 AM
gisCoder
New Contributor
Hi forums members,

I think I lost much time to click click click... through add data dialog to point to my data location.

So, I'm coding an custom base command to add data at specified location which I want,  to save my time of clicking through add data dialog on ArcMap.

But It's surprised that IAddDataDialog have no property to set startup location.

I think ESRI should have some ways to do this. Do you know how?

Thanks in advanced
0 Kudos
2 Replies
EricMcPhee
New Contributor III
Try using IGxDialog as described here:
http://forums.esri.com/thread.asp?c=93&f=992&t=302866

Or, you could click the check box for "Return to last used location when Add Data dialog first used" on the General tab of the ArcMap Option dialog found under Customize menu -> ArcMap Options...
See attached screenshot.
0 Kudos
gisCoder
New Contributor
Try using IGxDialog as described here:
http://forums.esri.com/thread.asp?c=93&f=992&t=302866

Or, you could click the check box for "Return to last used location when Add Data dialog first used" on the General tab of the ArcMap Option dialog found under Customize menu -> ArcMap Options...
See attached screenshot.


Thanks for your help, slcemcphee33!

It's working now!
0 Kudos