vb.net2015中,如何让新建立的文件夹的名称为在openfiledialog中打开的...
发布网友
发布时间:2024-10-09 00:11
我来回答
共1个回答
热心网友
时间:2024-11-01 13:56
OpenFileDialog1.ShowDialog()
Dim S As String
S = IO.Path.GetFileName(OpenFileDialog1.FileName)
S = Strings.Left(S, InStr(S, ".") - 1)
System.IO.Directory.CreateDirectory("Z:\" & S & "\")