Skip to main content

FileOpen

HI, All,
 
Is there a way to set the default file browsing location for the FileOpen common dialog?
It seems to remember where it last pointed, but where is that pointer stored?
 
 
Rob

robgentile Wed, 11/05/2014 - 12:14

Thanks, Brian.
I superficially searched the registry, didn't see it there, but I'm sure you're right. I believe if we knew the key, there are vb ways to query/write to the registry. I'm in an idea class  (Houston) as I type; I'll try more tonight back at the hotel...
 
 

Brian Element Wed, 11/05/2014 - 12:25

Hi Rob,

Hope you enjoy the class, who is your trainer?  If I get a chance I will look around tonight after work, unfortuantley the compters where I work are locked down so I can't check.

Brian Element Wed, 11/05/2014 - 12:31

Ok, I just did some googling (if that is a word and found these that might help out)

http://www.howtogeek.com/97824/how-to-customize-the-file-opensave-dialog-box-in-windows/

http://www.howtogeek.com/howto/26559/change-the-default-save-folder-for-windows-7-libraries-to-something-else-like-your-dropbox/

and another more techinical reference.  As I don't have IDEA on this machine right now I will have to look at it tonight. http://msdn.microsoft.com/en-us/library/system.windows.forms.openfiledialog(v=vs.110).aspx

robgentile Wed, 11/05/2014 - 12:35

Instructor is Kurt Johnson. Those leads look promising! Thanks.
I'm pretty sure that if xeroxing is a word, so is googling. :)
 

Brian Element Wed, 11/05/2014 - 13:23

Say hello to Kurt from me.  If I have time tonight I will see if I can figure anything out, it also might be a good question for Kurt.

robgentile Wed, 11/05/2014 - 14:37

Will say hello.
Kurt had said that he's already asked caseware to consider allowing passing a default location as an option.