title: 'string' does not contain a definition for/
body: <p><strong>Error</strong>:
   'string' does not contain a definition for 'SelectedPath' and no extension method 'SelectedPath' accepting a first argument of type 'string' could be found</p>
  
  <p><strong>Code</strong>:</p>
  
  <pre><code> private static string fbd = String.Empty;
      public void button2_Click(object sender, EventArgs e)
      {
          FolderBrowserDialog fbd = new FolderBrowserDialog();
          fbd.Description = "Select a Folder to save the images.";
          if (fbd.ShowDialog() == System.Windows.Forms.DialogResult.OK)
              textBox1.Text = fbd.SelectedPath;
      }
  
  public void button3_Click(object sender, EventArgs e)
      {
  
          List&lt;string&gt; address = new List&lt;string&gt;();
          Random r = new Random();
          address.Add("http://d24w6bsrhbeh9d.cloudfront.net/photo/4600000_460s.jpg");
          address.Add("http://d24w6bsrhbeh9d.cloudfront.net/photo/4600001_460s.jpg");
          address.Add("http://d24w6bsrhbeh9d.cloudfront.net/photo/4600002_460s.jpg");
          address.Add("http://d24w6bsrhbeh9d.cloudfront.net/photo/4600003_460s.jpg");
          //MessageBox.Show(address[r.Next(0, 4)]);
  
          if (comboBox1.Text == "10")
          {
              string filename = fbd.SelectedPath;
              MessageBox.Show(fbd);
  
              HttpWebRequest request = (HttpWebRequest)WebRequest.Create(new Uri(address[r.Next(0, 4)]));
              HttpWebResponse response = (HttpWebResponse)request.GetResponse();
  
              if ((response.StatusCode == HttpStatusCode.OK ||
                  response.StatusCode == HttpStatusCode.Moved ||
                  response.StatusCode == HttpStatusCode.Redirect) &amp;&amp;
                  response.ContentType.StartsWith("image", StringComparison.OrdinalIgnoreCase))
              {
  
                  using (Stream inputStream = response.GetResponseStream())
                  using (Stream outputStream = File.OpenWrite(filename))
                  {
                      byte[] buffer = new byte[4096];
                      int bytesRead;
                      do
                      {
                          bytesRead = inputStream.Read(buffer, 0, buffer.Length);
                          outputStream.Write(buffer, 0, bytesRead);
                      } while (bytesRead != 0);
                      using (WebClient client = new WebClient())
                      {
                          client.DownloadFile(address[r.Next(0, 25)], filename);
                      }
  
                  }
              }
          }
  
  
      }
  </code></pre>
  
  <p><strong>Explanation</strong>:
  For button3_Click im trying to get it to call the save location you set to save the image. I have looked all over the net and im not finding a way to fix this :/ </p>
  
  <p>I also am getting an error when i manually enter a save location.
  Access to the path 'H:\images' is denied.
  And no the folder is not read only. It gives me the same error no matter where i set the save location.</p>