Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/meteor/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Vb.net 打开带有参数的程序时找不到文件_Vb.net_Winforms - Fatal编程技术网

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