Using the following command
I get an error sayingCode:My.Computer.FileSystem.DeleteDirectory("c:\Tmp\TestFiles", _ FileIO.DeleteDirectoryOption.DeleteAllContents, _ FileIO.RecycleOption.SendToRecycleBin)
"The value of argument 'showUI(5) is invalid for Enum type 'UIOption'. Parameter name: showUI"
I'm using the first override set of parameters (1 of 3) and using Intellisense to select the parameters. I see that the showUI parameter exists in the second and third overrides but not in the first so don't understand why I'm getting this error. Is this a bug in VB or maybe my version is corrupt?
This isn't a huge deal since the second and third overrides seem to work so I can use them instead. Just wondering what the problem is.


Reply With Quote
