FolderBrowserDialog - Win32Exception occurred - The parameter is incorrect

前端 未结 3 1964
天涯浪人
天涯浪人 2021-02-14 23:37

I try to use the FolderBrowserDialog from WPF like this:

public static bool BrowseFolder(out string folderName)
{
   using (System.Windows.Forms.FolderBrowserDia         


        
3条回答
  •  醉话见心
    2021-02-15 00:01

    I would try doing it without using the "using" statement, perhaps it is getting cleaned up too quickly.

提交回复
热议问题