how to pick an existing (empty) directory name (mapped in Windows to a drive letter)?

UW
Ulli Wenk
Thu, Feb 12, 2015 11:29 AM
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?

Regards, Ulli

Autosignatur  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.

________________________________________________________________

SK
Steven Kelly
Thu, Feb 12, 2015 11:41 AM

VW has:

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?

Regards, Ulli

--

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 mailto:wenk@hinz.de

Besuchen Sie uns im Internet unter www.hinz.de http://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.


VW has: 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? Regards, Ulli -- 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 <mailto:wenk@hinz.de> Besuchen Sie uns im Internet unter www.hinz.de <http://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. ________________________________________________________________
AH
Andreas Hiltner
Thu, Feb 12, 2015 11:44 AM

Or you could take a look the native function

"SHBrowseForFolder"
(https://msdn.microsoft.com/en-us/library/windows/desktop/bb762115.aspx)

if you look for a Windows native alternative.

Cheers,
Andreas

Steven Kelly schrieb:

VW has:

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?

Regards, Ulli

--

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 mailto:wenk@hinz.de

Besuchen Sie uns im Internet unter www.hinz.de http://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

Or you could take a look the native function "SHBrowseForFolder" (https://msdn.microsoft.com/en-us/library/windows/desktop/bb762115.aspx) if you look for a Windows native alternative. Cheers, Andreas Steven Kelly schrieb: > > VW has: > > 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? > > Regards, Ulli > > -- > > 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 <mailto:wenk@hinz.de> > > Besuchen Sie uns im Internet unter www.hinz.de <http://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