James

As Karen suggested you could try the treeview control to display the
directory of S:\BLEACHER_BUILD\

Or you could use the File Listbox control and set the default directory to
S:\BLEACHER_BUILD\

You can only see directories or files with these controls. If you want to do
something  with the files, then do as Karen suggests and use the plugins for
LoadFileNamePlus or LoadDirectoryname.

In any code make sure to return to the default directory using
(CVAL('DBPATH')).

Here is some sample code;

Set v vcurrdir text=(cval('dbpath'))

set v vFILE text=null
PLUGINS LoadFileNamePlus vFile +
 |FULLPATH ON +
 |TITLE Bleacher Information +
 |VIEW_MODE DETAILS +
 |FILTER Excel Files (*.xls)#*.xls +
 |INITIAL_DIR S:\BLEACHER_BUILD\ +
 |MULTISELECT OFF +
 |NO_LONG_NAMES OFF
...more code
CHDIR .VCURRDIR
ret     


Hope this helps.

Bill Eyring


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Jim Belisle
Sent: Friday, March 30, 2012 9:05 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - bit button to a specific file location

I want to use a bit button on a form that will bring me to a specific
location on the hard drive.

I want it to show me a window so my office people can see the folders and
files in that location.

Kind of like a shortcut on a form to a specific location.

The location will be S:\BLEACHER_BUILD\.

 

 

James Belisle

 

Making Information Systems People Friendly Since 1990

 

 

 


Reply via email to