我正在编写一个程序,它使用另一个程序来解密文件。我对所选项目使用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
。
我做错了什么?我感谢您提前感谢所有帮助。