使用参数打开程序会找不到文件

时间:2013-09-22 16:06:56

标签: vb.net winforms

我正在编写一个程序,它使用另一个程序来解密文件。我对所选项目使用combobox,然后使用它来解密它:

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

当我尝试这样做时。我知道ComboBox1.SelectedItem中找不到FolderBrowserDialog1.SelectedPath

我做错了什么?我感谢您提前感谢所有帮助。

0 个答案:

没有答案
相关问题