Answered by:
Connecting Windows program from Web page

Question
-
User-1578974752 posted
Hi
I have a windows project and a web page (vb.net). If I place a hyperlink or button in my webpage can I access windows program Form? .If can, How can I do that?
Appreciate the help. Thanks
Wednesday, June 26, 2019 1:23 AM
Answers
-
User71929859 posted
WIndows program run on client while your web project runs on the server. Those are two separate machines. You can't invoke a program in client machine from server if that's what you are asking. If that's possible, imagine the things hackers could do by running software on the client computer :)
If you simply want to call a program on the server, then you could use the below code
https://ruchirac.blogspot.com/2012/05/how-to-open-and-close-application-in.html
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, June 26, 2019 2:12 AM
All replies
-
User71929859 posted
WIndows program run on client while your web project runs on the server. Those are two separate machines. You can't invoke a program in client machine from server if that's what you are asking. If that's possible, imagine the things hackers could do by running software on the client computer :)
If you simply want to call a program on the server, then you could use the below code
https://ruchirac.blogspot.com/2012/05/how-to-open-and-close-application-in.html
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, June 26, 2019 2:12 AM -
User61956409 posted
Hi shsu,
Glad to hear that you solved the problem with the help of Ruchira.
Besides, if you can clarify more about the scenario and requirement that requires connect/start winform from web application, we could understand it better and help give some suggestions.
With Regards,
Fei Han
Wednesday, June 26, 2019 8:40 AM -
User-1578974752 posted
Actually, I didn't solve the problem. But understand ,it is not possible.
This window application is a Printing application which have a login section also .The web application is also having login form . so once web application login then after user clicks a link, then can redirect to printing windows application. just open that is all needed. Thanks
Thursday, June 27, 2019 1:15 AM