You could for example have the console app create a waiting TcpListener instance and have the window form sending socket requests to the console that way.
There are loads of examples of this type of thing on the web
yes... but what do you want? Press a button in a windows app, and then it runs a console app?
I have written an app that runs net.exe from the console, to tie in two different arguments. (to see user details, and/or change password)
The code would work fine running from a Windows App. You are welcome to play with it...
htp://
The UA2002.EXE program is the app, and the Class1.cs is the main code. The password.cs file is a small windows form launched to allow password specification without showing the password on screen (something I couldn't do at the console)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.