soulwraith
New member
- Joined
- Aug 5, 2009
- Messages
- 2
- Programming Experience
- Beginner
I am executing external exe from vb.net, but i m not getting output value which exe return after executing.
Below is my code:
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
System.Diagnostics.Process.Start("C:\Users\soulwraith1\Desktop\FileTransfer\Server\Server\bin\Debug\Server.exe")
End Sub
i need to use the server.exe to create a txt file with some information inside, but it wont create if i executing the exe from a vb.net window form.
when i run that exe through command prompt it works fine and create the txt file as expected.
pls help.THX!!
Below is my code:
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
System.Diagnostics.Process.Start("C:\Users\soulwraith1\Desktop\FileTransfer\Server\Server\bin\Debug\Server.exe")
End Sub
i need to use the server.exe to create a txt file with some information inside, but it wont create if i executing the exe from a vb.net window form.
when i run that exe through command prompt it works fine and create the txt file as expected.
pls help.THX!!