我正在编写一个程序,该程序使用另一个程序来解密文件。我将 acombobox
用于所选项目,然后使用它来解密它:
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
.
我究竟做错了什么?感谢我提前收到的所有帮助。