How do I run a Windows Forms App from a different computer?

Vince M 1 Reputation point
2020-07-07T16:20:05.11+00:00

I have an Windows Forms application that has to be run on a specific computer(Computer 1) because it uses the API of a local application (lets call it Application X) that is only installed on Computer 1. I want to run that Windows Forms application on Computer 2, but even if I transferred the Solution File and all of its components onto Computer 2, it wouldn't be able to run because it cant connect to the API (the API connection is local and only works when Application X is installed on that computer). Is there any way I can run that Windows forms application from a different computer? A way where the API is used on Computer 1, but I see the UI and everything on Computer 2? Thank you.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,710 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Sean Liming 4,511 Reputation points
    2020-07-07T16:28:01.477+00:00

    You could install Remote Debugging tools on Computer 1 and remote connect from Computer 2 that is running Visual Studio: https://learn.microsoft.com/en-us/visualstudio/debugger/remote-debugging?view=vs-2019

    FYI - You might want to post to the old MSDN Forums as well: https://social.msdn.microsoft.com/Forums/en-US/home?category=visualstudio

    0 comments No comments

  2. Dave Patrick 426.3K Reputation points MVP
    2020-07-07T16:36:00.533+00:00

    Winforms and Visual studio is not currently supported here on QnA. They're actively answering questions in dedicated forums here.
    https://social.msdn.microsoft.com/Forums/windows/en-US/home?category=windowsforms
    https://developercommunity.visualstudio.com/spaces/8/index.html
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=visualstudiogeneral

    --please don't forget to Accept as answer if the reply is helpful--


    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    0 comments No comments