Announcement

Collapse
No announcement yet.

Is it possible to manage StreetDeck from a .Net project

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is it possible to manage StreetDeck from a .Net project

    Hi All,

    How can i start/run an instance of StreetDeck from a C# (.Net) project?

    **Not start StreetDeck as another program** but make an instance of it from a C# class and manipulate it.

    For example: i want to create a windows app with 2 buttons:
    - 1 button to run StreetDeck from my Application
    - 1 button to close StreetDeck from my application.

    Please let me know...
    i am going crazy trying to do this...

  • #2
    How to do this.

    I found this really interesting and helpful link on how to do this. But i can't make it work.

    http://www.mp3car.com/wiki/index.php...er_Application

    Can somebody ttry it and let me know if it works????

    Thanks!

    Comment


    • #3
      Lookup System.Diagnostics.Process

      There is a Start method that returns a reference to the Process. With that reference I believe you can monitor and close the process.

      Comment


      • #4
        you can of course start a process from .NET

        a quick and dirty way to do this is.

        Code:
        Process sdProcess = new Process();
        
        sdProcess.StartInfo.FileName = @"{path to SD executable}";
        sdProcess.StartInfo.Arguments = @""; //some arguments such as testmode..if needed
        
        sdProcess.Start();
        You can store the handle to the process in a class variable..so that you can kill it later..i think the method is Kill() or Stop() one or the other..

        also make sure to include

        Code:
        using System.Diagnostics;
        at the top.

        Comment


        • #5
          Originally posted by Jaf View Post
          I found this really interesting and helpful link on how to do this. But i can't make it work.

          http://www.mp3car.com/wiki/index.php...er_Application

          Can somebody ttry it and let me know if it works????

          Thanks!
          This is only possible in the latest version. 1.1.0.4 and later which has not been released yet, wait for the new update then you should be able to do it.
          StreetDeck.com Developer (I am Chuck)
          Get StreetDeck at http://www.streetdeck.com
          The Official StreetDeck Forums have moved, please visit us at http://www.streetdeck.com/forum for official support for Streetdeck.

          Comment

          Working...
          X