Vb.net 打开带有参数的程序时找不到文件
我正在编写一个程序,它使用另一个程序来解密文件。我对所选项目使用一个组合框,然后使用它对其进行解密:Vb.net 打开带有参数的程序时找不到文件,vb.net,winforms,Vb.net,Winforms,我正在编写一个程序,它使用另一个程序来解密文件。我对所选项目使用一个组合框,然后使用它对其进行解密: Private Sub ComboBox1_SelectedIndexChanged(sender As System.Object, e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged Dim strpath As String = Application.StartupPath Proce
Private Sub ComboBox1_SelectedIndexChanged(sender As System.Object, e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
Dim strpath As String = Application.StartupPath
Process.Start(strpath & "\pdatool.exe", "-g NPUB30943 -d " & FolderBrowserDialog1.SelectedPath & " " & ComboBox1.SelectedItem)
End sub
当我尝试这样做的时候。我发现在文件夹浏览器对话框1.SelectedPath
中找不到组合框1.SelectedItem
我做错了什么?我感谢所有提前收到的帮助。请使用调试器并描述什么是
FolderBrowserDialog1.SelectedPath
和ComboBox1.SelectedItem
评估到。尝试Combox1.SelectedText