By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,550 Members | 908 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,550 IT Pros & Developers. It's quick & easy.

StandardInput.Write

P: n/a
I'm trying to send a string to a 3rd party application without using the
sendmessage api
below is what I am trying but it kicks out saying that StandardInput is
redirected. I know that it is getting the proper process from GetProcessById
but I just can't write to the stream any help would be appreciated.

Dim kcProcess As Process
Dim kcProcessID As Integer =
CInt(Me.ListView1.SelectedItems(0).Text)
'MsgBox(kcProcessID.ToString)
kcProcess = Process.GetProcessById(kcProcessID)
kcProcess.StartInfo.RedirectStandardInput = True
kcProcess.StandardInput.Write(" ")
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Thread Keep Alive

Christopher. A. Kelly wrote:
I'm trying to send a string to a 3rd party application without using the
sendmessage api
below is what I am trying but it kicks out saying that StandardInput is
redirected. I know that it is getting the proper process from GetProcessById
but I just can't write to the stream any help would be appreciated.

Dim kcProcess As Process
Dim kcProcessID As Integer =
CInt(Me.ListView1.SelectedItems(0).Text)
'MsgBox(kcProcessID.ToString)
kcProcess = Process.GetProcessById(kcProcessID)
kcProcess.StartInfo.RedirectStandardInput = True
kcProcess.StandardInput.Write(" ")

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.