Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

Calling a Console application from a windows form application

$
0
0

Hi,

I need to pass an Image URL from a windows form application to a console application. To do the same, I am calling the Console Application from a windows form application using Process.Start(PathOfConsoleApp.exe,URL) where URL is the Image URL. Now I am able to call the console application fine but I need to return a string from there but since I have called the application using Process.Start() and not using a class or a function, I am not able to do so.

I have tried using Process.Start.ToString(); but that is not helpful since that is absolutely wrong.

Could you please suggest how should I return the string?

Thanks Much!

Milan Singh Solanki


Milan Singh


Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>