SaveFileDialog Help

  • Thread starter Thread starter Yoshi
  • Start date Start date
Y

Yoshi

Hi Everyone!

I am using the SaveFileDialog class. I want the user to specify the "SaveAs"
filename so I can use that name when creating a text document. Here is my
question below.

When the SaveFileDialog is displayed, how do you get it to show all the
files that have the ".txt" extension? It's only showing me the folders.

Thanks,

Y
 
hi
set the Filter property of the saveFileDialog to (*.txt)|*.txt

this will work
regards
Ansil
Dimensions
Technopark Trivandrum
(e-mail address removed)
 

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