Getting Directory Path

  • Thread starter Thread starter Dino Buljubasic
  • Start date Start date
D

Dino Buljubasic

Hi,

I need to allow user to specify the directory where to save some
files. User should not provide the name of the file since it is
prenamed by the system. He/she only needs to provide the path to the
location where file will be saved.

I tried to do this using FileSaveDialog but I dont know how to disable
the box that requires the user to provide the name of the file.

How can I let the user select only the location without providing the
name of the file?

Any help will be appreciated,
_dino_
 
Dino said:
Hi,

I need to allow user to specify the directory where to save some
files. User should not provide the name of the file since it is
prenamed by the system. He/she only needs to provide the path to the
location where file will be saved.

I tried to do this using FileSaveDialog but I dont know how to disable
the box that requires the user to provide the name of the file.

How can I let the user select only the location without providing the
name of the file?

Any help will be appreciated,
_dino_

Have you looked at using the folderbrowserdialog control?

Chris
 

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

Back
Top