Hello!

I am really new to this and was wondering if somebody could have a look at this. What I'm trying to do is get the selected folder value put into my dirlocation var.

Code:
       private void dirLocation_Click(object sender, EventArgs e)
        {
  
            FolderBrowserDialog fdb = new FolderBrowserDialog();
            fdb.Description ="Please choose the directory your .rlt files are located in";
            if (fdb.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                dirLocation = fdb.SelectedPath;
            }
Is this how you do it? I keep getting an error like Cannot implicitly convert type 'type' to 'type'

Thanks in advance guys

Cheers!
Stephen