Hi i want to use windows form application in way like an api from an asp.net page?
And examples… please share.
OR
i want to call a windows form application and pass values to it 4 string values , and after the work done is completed by the form application, return a String that will have html back to the webpage to display?
And ideas , please help.
Main thing i want to know : i know how to call a process using ..net ,
1- How will i send parameters?
2- How will i catch parameters at my windows form application.
3- How will i send parameters back to the page on windows form application .exit.
Thank you
I would recommend not doing this. It would be better to redesign your Windows Forms application so that your logic was in a separate assembly (DLL).
You could then reference this assembly from your ASP.Net project, and directly use the logic. This would be far cleaner than trying to bridge to a desktop application.