selecting all a folder and all of its contents with openfiledialog in vb .net

B

Bernie Yaeger

I've asked this question before but now I need something different: I need
to select files using openfiledialog, which is easy enough. But I want to
select a file or files (multiselect) and also single click select a folder
or folders (double click would open the folder, as the openfiledialog now
does).

I don't want to just browse the folder. For example, when I cut a cd using
Record Now, it can select both files and entire folders and it then places
all of the contents, and the folder as a directory in the files to be
included on the cd.

Thanks for any help.

Bernie Yaeger
 
C

Cor Ligthert

Bernie,

That is often asked in this newsgroup, there is not a standard solution to
copy a directory.

When it was my problem however would try to make it with a Dos Xcopy
solution in a proccess.start and than hide that dos box with the
proccessstartinfo.windowstyle = ProcessWindowStyle.Minimized

I hope it helps anyway

Cor
 
B

Bernie Yaeger

Hi Cor,

Interesting idea, if a bit of a kludge - I'll give it a try.

Tx,

Bernie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top