Dear Mr. Wenk,

The statements

������ | dialog |
������ dialog := ChooseDirectoryDialog new.
������ ^dialog open
������ ������ ifTrue: [dialog selection]
������ ������ ifFalse: [nil]


let you pick any kind of directory (empty and not empty). A path selector dialog with a combobox (shows the selected path and lets select a path), a selection list of directories of the current path and some helper buttons for creating a new directory, etc.) is part of the selecting dialog. You can traverse the hirarchy of displayed paths down and up to the required one.

As you write, i assume you are working with VisualWorks. My example is from VW 7.8.1.

mit freundlichen Gr����en / best regards,
Josef Springer
(Gesch��ftsleitung/Management)

Postal
Address
Josef.Springer@joops.com
Orlando-di-Lasso Str. 2
D-85640 Putzbrunn
Phone
Office
+49 (0)89 600 6920


Phone Fax
+49 (0)89 600 69220


Web
Web
http://www.joops.com


JOOPS
(HRB M��nchen 86239)

-- the software company --


On 12.02.2015 15:43, Steven Kelly wrote:
Autosignatur

You can map between UNCs and drive letters using the command prompt���s ���net use��� or (for permanent mappings only?) the registry���s \\HKCU\Network. Should be easy enough (and fast enough) to make VW���s own directory dialog use one of those to add that info when opening.

��

Steve

��

��

From: Ulli Wenk [mailto:wenk@hinz.de]
Sent: Thursday, February 12, 2015 2:42 PM
To: Steven Kelly
Subject: Re: [Esug-list] how to pick an existing (empty) directory name (mapped in Windows to a drive letter)?

��

Please, look again the the red-mark text!

Am 12.02.2015 um 12:41 schrieb Steven Kelly:

��Dialog requestDirectoryName: 'Choose a Directory:'

which explicitly selects a directory (including empty ones) rather than a file.

��

From: Esug-list [mailto:esug-list-bounces@lists.esug.org] On Behalf Of Ulli Wenk
Sent: Thursday, February 12, 2015 1:30 PM
To: ESUG Mailing list
Subject: [Esug-list] how to pick an existing (empty) directory name (mapped in Windows to a drive letter)?

��

Hello,

how I can use a native FolderDialog/DirectoryRequest for a directory which may be empty (we need it for selecting a subprocess-working-directory chosen by our users)?

The VW FileDialog and Win32FileDialog can only be used for not empty directories (selecting an arbitrary file and getting its directory path). The Aragon.Widget Dialog>requestDirectory let me select a directory but does not show the drive letters of the (Windows-) mapped drives. Thus, for our users (hospital nurses), it is not so easy to find a known directory.
Has anybody a solution?

��

--

��

Mit freundlichen Gr����en,

Dr. Hans-Ullrich Wenk

Abteilungsleiter Softwareentwicklung

__________________________________________

HINZ Fabrik GmbH

Organisation im Gesundheitswesen

Lankwitzer Stra��e 17/18

D-12107 Berlin

Tel.: +49 (0) 30 / 7 47 04-175
Fax: +49 (0) 30 / 7 47 04-160

��

E-Mail: wenk@hinz.de

Besuchen Sie uns im Internet unter www.hinz.de.
_______________________________________________________________

Eingetragen im Handelsregister Berlin: 92 HRB 2532

Gesch��ftsf��hrer: Gregor Schmidt, Berlin; Michael Vo��, Berlin

_______________________________________________________________

Diese E-Mail enth��lt vertrauliche und/oder rechtlich gesch��tzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrt��mlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.

The contents of this email and any attachments are confidential. It is intended for the named recipient(s) only. If you have received this email in error please notify the system manager or the sender immediately and do not disclose the contents to anyone or make copies.

________________________________________________________________

��

��

��

_______________________________________________ Esug-list mailing list Esug-list@lists.esug.org http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org