MartyConnelly
martyconnelly at shaw.ca
Thu Feb 26 09:42:48 CST 2004
I have been fiddling around with Dir code recently; to check entire disks and came across one quirk you can get Number 76 Runtime errors with files like page.sys or occasionally files with no extension in the name. I was doing it to determine what type of mdb files are on a disk. 2000, XP, 97 etc. Lonnie Johnson wrote: >Thanks guys, those were great responses. The user actually settled for a list box that was populated from the Dir function of a predetermined path. > > >Mike & Doris Manning <mikedorism at adelphia.net> wrote: > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com >Sent: Tuesday, February 24, 2004 12:28 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] ListView or TreeView to show directory listing > > >A treeview would be 'collapsable', however, it would be a bit more complex >to program. You could create the VB equivalent of a DriveList, FolderList >and Filelist box. (Or just use them, but those would be extra ActiveX >controls in your project). > >Drew > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lonnie Johnson >Sent: Monday, February 23, 2004 11:48 AM >To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; AccessD >solving' >Subject: [AccessD] ListView or TreeView to show directory listing > > >I want to be able to display the folders and files of a directory in a list >box type manner. Would this be a listview or treeview control? If so, is >there a wizard you can install to do this on Access XP? I want a collapsable >list to allow the user to highlight a file in any folder they desire. > >p.s. The user does not want the Windows Common Dialog Box. > >Thanks in advance > > > >Lonnie Johnson >ProDev, Professional Development of MS Access Databases >Visit me at ==> http://www.prodev.us > > > > > > > > > >--------------------------------- >Do you Yahoo!? >Yahoo! Mail SpamGuard - Read only the mail you want. >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > -- Marty Connelly Victoria, B.C. Canada