Results 1 to 5 of 5

Thread: Is it possible to manage StreetDeck from a .Net project

  1. #1
    Jaf
    Jaf is offline
    Newbie
    Join Date
    Sep 2007
    Posts
    26

    Unhappy 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. #2
    Jaf
    Jaf is offline
    Newbie
    Join Date
    Sep 2007
    Posts
    26

    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!

  3. #3
    Newbie
    Join Date
    Jan 2005
    Posts
    22
    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.

  4. #4
    Constant Bitrate
    Join Date
    Aug 2006
    Posts
    138
    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.

  5. #5
    Raw Wave god_of_cpu's Avatar
    Join Date
    Jan 2004
    Location
    SilverSpring Maryland
    Posts
    2,960
    Quote 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.

Similar Threads

  1. .net or not .net
    By lostreception in forum Software & Software Development
    Replies: 11
    Last Post: 10-13-2007, 05:05 AM
  2. Streetdeck!
    By TheLlama in forum Off Topic
    Replies: 37
    Last Post: 11-08-2006, 06:39 PM
  3. What is StreetDeck, The official answer
    By god_of_cpu in forum StreetDeck
    Replies: 8
    Last Post: 01-06-2006, 12:33 PM
  4. DIN compatable PC project
    By don-m in forum Worklogs
    Replies: 4
    Last Post: 10-23-2005, 11:11 AM
  5. Carputer as a comp sci final year project?
    By MikeHunt79 in forum General MP3Car Discussion
    Replies: 5
    Last Post: 06-23-2004, 10:19 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •