[AccessD] tsGetFileFromUser()

artful at rogers.com artful at rogers.com
Sun Jan 14 09:04:43 CST 2007


Wouldn't it be nice if there were some registry setting somewhere that would affect all the File Open|Select dialogs in all your programs? It sometimes seems as if various apps remember exactly the setting I don't want, and foist it upon me time after time. I always want the Details view; the only issue is whether I want it sorted by name or by date, and that's only one or two clicks at most. It must lurk in the registry somewhere, but I am anything but a registry-wiz.

----- Original Message ----
From: Gustav Brock <Gustav at cactus.dk>
To: accessd at databaseadvisors.com
Sent: Sunday, January 14, 2007 6:08:31 AM
Subject: Re: [AccessD] tsGetFileFromUser()

Hi Patricia

This sounds like job for Drew!

I once wondered the same but all I could find was comments like these:

---
> Does anybody know how to set the 'view' that is used when you use 
> the ShowOpen method of the CommonDialog. 
> I would like to default the view to the 'details' view. 

That feature is not available in either the common control, or the API version. In the API version you can do it using subclassing,  

The idea is that if you need to provide extra functionality, you provide your own dialog (template and/or resource) and then handle all the messages via a custom hook function. This is not a very practical solution for VB programmers. 
---

And this VB code using a timer(!):

http://www.vbsight.com/CodeO.htm 

/gustav


>>> Patricia.O'Connor at otda.state.ny.us 12-01-2007 22:17:11 >>>
When using tsGetFileFromUser() function how can I set it up to display
the screen as DETAILS instead of the thumbnail, tiles, icon, list?

I want the user to be able to see when a particular file was
modified/created, so they select the most current.
Access 97 for now will be upgrading very soon.


-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com







More information about the AccessD mailing list