Scott M. said:
How about actually describing what you want to do and how you are
attempting to do it and what you are getting for a response instead of
just ranting?
Ok I inserted the following lines (new) into an executing procedure.
Dim toFolderName As String
toFolderName = Path.Combine(toFolder.FolderName,
Path.GetFileName(folderName))
This made the code in the procedure:
Dim toFolder As FolderInfo = CType(foldersListBox.SelectedItem,
FolderInfo)
Dim fromFolder As String = folderName
Dim toFolderName As String
toFolderName = Path.Combine(toFolder.FolderName,
Path.GetFileName(folderName))
FileSystem.MoveDirectory(fromFolder, toFolderName)
Me.DialogResult = Windows.Forms.DialogResult.OK
Close()
Now when I attempted to set the executing line to the first line ( one time
I noticed in the watch window that toFolder was nothing after a change) I
get a first message that I cannot set the execution to that line. When I
get that I do not want to execute the sub any further so I attempted to set
the executing line to setting the dialogresult. This resulted in the error
and I had to shut down VS 2008.
LS