title: File not getting saved in specified location in winforms c#
body: <p>Eventhough i specify a different location the file gets saved in mydocuments. How to resolve this issue. Pls share your ideas if any.Here is the code.</p>
  
  <pre><code>          if (externalButton.Checked == true)
              {
                 // int i = 1;
                  saveFileDialog.Title = "Save the Proofer Report";
                  saveFileDialog.Filter = "Document Files (*.doc)|*.doc|Document Files (*.docx)|*.docx";
                  saveFileDialog.FilterIndex = 0;
                  saveFileDialog.InitialDirectory = "MyDocuments";
                  saveFileDialog.FileName = "Proofer Report -- " +  Path.GetFileName((string)fileName) + ".doc";
                  //i.tostring()
                  saveFileDialog.DefaultExt = ".doc"; 
  
  
                  saveFileDialog.ShowHelp = true;
                  // saveFileDialog.ShowDialog();
                  var thread = new Thread(new ParameterizedThreadStart(param =&gt; { saveFileDialog.ShowDialog(); }));
                  thread.SetApartmentState(ApartmentState.STA);
                  thread.Start();
                  fname = saveFileDialog.FileName;
  </code></pre>