Hi all. I'm fairly new to programming, and have started using visual
basic.net, just found this place, so hope someone can help as I'm a little
stuck :)
I'm trying to write a small front end to an application, now this was going
fine up until this morning, where I had to send the parameters to the actual
app. I have this:
Private Sub MenuItem2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MenuItem2.Click
If OpenFileDialog1.ShowDialog = DialogResult.OK Then
TextBox1.Text = OpenFileDialog1.FileName
ProcID = Shell("C:\WINDOWS\pscp.EXE", AppWinStyle.NormalFocus)
What would be the correct way of sending the contents of TextBox1.Text (the
path to the file to be used) to Shell? The help doesnt really mention this
at all.
Thanks heaps for your help
Ken