| *Lysander* 2005-10-07, 3:26 am |
| In article <YObYDHcyFHA.1236@news-server>, chucky3176@yahoo.ca says...
> Hi, is there a way to modify the getdirectory() function to allow the=20
user to create and delete folders? Right now, all they can do is just=20
browse and retrieve folder names. Thanks.
You could just use a "normal" explorer shell, like this:
(somewhere in the header of your application):
=3D=3D=3D=3D=3D=3D=3
D=3D=3D=3D=3D=3D=3D=
3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3
D=3D=3D=3D=3D=3D=3D=
3D=3D=3D=3D=3D=3D=3D
=3D
extern cHandle ShellExecute(;
cHandle, cString, cString, cString, cString, CInt;
) Shell32;
from ;
"ShellExecute" + "A"
(in your getfolder()-routine...):
=3D=3D=3D=3D=3D=3D=3
D=3D=3D=3D=3D=3D=3D=
3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3
D=3D
ShellExecute(form.hwnd, 'open', <startfoldername>, '', '', 1)
=20
--=20
ciao,
Andr=E9
~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~
Deutsche dBase-Konferenz dBKon 2005 ::: 11. bis 13. November 2005
Deutschsprachige Konferenz zu dBase und anderen Datenbanken
Info: www.dbase-konferenz.de
|