C# Application started remotely?



  • Hi guys,

    I have an idea. I wanna build a C# application, which could be started and controlled remotely by another Application through TCP maybe,which maybe will be wroten in VB.

    Is that possible? I do not know how to implement such kind of C# application.
    Anyone could tell me how? or just give the technology' name.

    I know C# could do a lot of things. But this one I am not sure.

    Bag





  • witte schrieb:

    Hi,
    maybe you're looking for WCF:
    http://en.wikipedia.org/wiki/Windows_Communication_Foundation

    Hi witte,

    I am not sure.

    Let me just tell you an example, I wanna a C# Windows Form Application, which has a config Button and a Send Button. By klicking the config Button a parameter setting window will be popup. By klicking the Send Button, some information will be send out throung RS232. Up to here, I am quite sure how to implement this.

    Now I wanna build another VB application. wich has a start button, config button and a Send Button. When I click the start button (by given some IP address, or 127.0.0.1 ), the C# Windows Form application will be started. Then I click the config Button in VB application, the parameter setting window of the C# application will be popup. And if I click the send Button in VB application, actully it triggles the send function in the C# application.

    yes something likes this. Is that possible?

    Thanks

    Bag



  • I'm unsure how do you want to display the form of your c#-application remotely. It makes no sense starting the form application remotely when nobody could see its output. Consider
    - using a remote desktop software to login on the remote computer and start the software manually and click the buttons there for further processing
    - build some sort of data channel to wake up your remote software, transport the input data to the remote software, invoke any action and get the results back via your channel. And yes that can be done with .net remoting or WCF


Anmelden zum Antworten