saveFileDialog question

  • Thread starter Thread starter Zach
  • Start date Start date
Z

Zach

What is wrong with ****
What should it be?
Thank you.

private void button3_Click(object sender, System.EventArgs e)
{
{
if(saveFileDialog1.ShowDialog() == DialogResult.OK)
{
using (StreamWriter sw = new
StreamWriter(saveFileDialog1.FileName****))
{
sw.WriteLine(textBox1.Text);
}
}
}
}
 
I see nothing is wrong.
I had a wrong setting in the properties box.
Thanks anyway.

I have two other questions:
(1.) How do I change the background color in a saveFileDialog?
(2.) How do I change the language shown in the dialog boxes?
I mean things like "My Computer" etc.
 
Back
Top