G
Grumpy Aero Guy
I have created an app that makes use of the FolderBrowserDialog.
Upon building the app, installing and running it, and invoking the form
using the dialog, it hangs upon folder selection and goes "not responding"
Upon debugging, it hangs as well upon executing the line that extracts the
selected folder without further explanation. All looks well in the debugger
prior to executing the line marked with <<<<<< below. When I step over that
line, it hangs.
With FolderBrowserDialog1
..RootFolder = Environment.SpecialFolder.Desktop
..SelectedPath = Environment.SpecialFolder.Desktop
..Description = "Please select the desired template(s)..."
If .ShowDialog = DialogResult.Cancel Then
Exit Sub
End If
If .ShowDialog = DialogResult.OK Then
DestinationPath = .SelectedPath <<<<<<<<
End If
End With
I noticed the same behavior from a downloaded exe created in VS2005 using
the folderbrowser --- thus, I have two indenpent instances of the
browserdialog hanging, one not of my creation.
Any insights?
Upon building the app, installing and running it, and invoking the form
using the dialog, it hangs upon folder selection and goes "not responding"
Upon debugging, it hangs as well upon executing the line that extracts the
selected folder without further explanation. All looks well in the debugger
prior to executing the line marked with <<<<<< below. When I step over that
line, it hangs.
With FolderBrowserDialog1
..RootFolder = Environment.SpecialFolder.Desktop
..SelectedPath = Environment.SpecialFolder.Desktop
..Description = "Please select the desired template(s)..."
If .ShowDialog = DialogResult.Cancel Then
Exit Sub
End If
If .ShowDialog = DialogResult.OK Then
DestinationPath = .SelectedPath <<<<<<<<
End If
End With
I noticed the same behavior from a downloaded exe created in VS2005 using
the folderbrowser --- thus, I have two indenpent instances of the
browserdialog hanging, one not of my creation.
Any insights?