| thejuliangaming a întrebat:

cum pot redirectiona Combobox1. text si Textbox1. text in Argumente pentru programe externe in VB.net.
Aici am si o parte din cod:

Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim s As String

Dim prog_name As String = "zip.exe"
Dim param_1 As String = "-e"
Dim param_2 As String = "Combobox1. Text"
Dim param_3 As String = "Textbox1. Text"

s = prog_name + Chr(34) + param_1 + Chr(34) + param_2 + Chr(34) + param_3

Shell(s, AppWinStyle.NormalFocus)
End Sub