Page 1 of 1

disk select

Posted: Tue Jul 19, 2016 7:43 am
by alepap
Is there a way to select a disk in the same way we can select a printer using the windows registered printers.

I need to do a backup and would like to ask the user to select on witch disk the backup should be, using windows file explorer.

Thank you,


Alexandre

Re: disk select

Posted: Tue Jul 19, 2016 8:06 am
by rdonnay

Code: Select all

DC_ChDir('Y:')

DC_ChDir('\exp20\source\dclipx')

Re: disk select

Posted: Tue Jul 19, 2016 9:28 am
by Wolfgang Ciriack
Have a look at DC_PopDir()

Re: disk select

Posted: Tue Jul 19, 2016 1:43 pm
by Auge_Ohr
Windows Listbox / ComboBox have "build-in" Drive / Directory.

Demo show how to "pimp" XbPart to fill Listbox with Drive / Directory
LB_DRIVE.ZIP
Source
(2.82 KiB) Downloaded 856 times

Re: disk select

Posted: Tue Jul 19, 2016 5:57 pm
by alepap
Thank you for all great reply. :clap:
Very helpful. :D