Help with Opening an External App (1 Viewer)

MD-Runner

Portal Member
July 31, 2008
15
0
Home Country
United States of America United States of America
I am writing my first plugin for MP (and my first in Visual C#). Does anyone have any code help for how to open an external app when a button in Mp is pushed? I am thinking AppActivate, but I really don't know.
 

MD-Runner

Portal Member
July 31, 2008
15
0
Home Country
United States of America United States of America
UPDATE: Okay, it looks like the real way to go here is with "Process Start" like this code example I found online:

=== Program that opens directory (C#) ===

using System.Diagnostics;

class Program
{
static void Main()
{
//
// Use Process.Start here.
//
Process.Start("C:\\");
}
}

Can I make this work? I get several errors from C# when I try to implement this and insert the program.exe into that last part.
 

Users who are viewing this thread

Similar threads

Prerequisites A Spotify account (free or premium) I've not tested with a free account, but according to spotify it should work. Spotify desktop app installed on same computer as you are going to use with MediaPortal Getting ready Create an app at spotify, use this link: Dashboard | Spotify for Developers, you have to login. Click...
Prerequisites A Spotify account (free or premium) I've not tested with a free account, but according to spotify it should work...
Prerequisites A Spotify account (free or premium) I've not tested with a free account, but according to spotify it should work...
Replies
0
Views
1K
THX for info. 0.62 plugin version doesn't crash with MP 1.31 therefore, it seems to me to be little buggy...
THX for info. 0.62 plugin version doesn't crash with MP 1.31 therefore, it seems to me to be little buggy...
Started on: 2023-12-26 last update: 2023-12-26 Summary: Minimize the amount of data written to disk by simulating a tempfs RAM...
Replies
4
Views
723
I am Sure the Issues will be fixed towards a stable. NET6 Version. Please don't get me wrong - My Intent was not any Complaint at all. I just wanted to: understand current Status & Situation understand my Options for a stable System improve my Knowledge & learn from Experts Especially because your limited Dev Resources and the...
I am Sure the Issues will be fixed towards a stable. NET6 Version. Please don't get me wrong - My Intent was not any Complaint at...
Hello Folks, Yesterday I upgraded to Mediaportal 2.5 via uninstalling 2.4.1 first and then install the latest .NET6 Variant of...
Replies
12
Views
1K
Hello MP Team, I have issues with mounting .iso files. Two seconds after mounting .iso and starting external player, the iso is unmounted again by MP and therefore doesnt show up in the drive any longer. Example: [2023-10-16 18:43:04,367] [Log ] [MPMain ] [INFO ] - Start process C:\Program Files (x86)\Elaborate...
Hello MP Team, I have issues with mounting .iso files. Two seconds after mounting .iso and starting external player, the iso is...
Hello MP Team, I have issues with mounting .iso files. Two seconds after mounting .iso and starting external player, the iso is...
Replies
0
Views
539
Hi, you can try the new installer from this post if you like.
Hi, you can try the new installer from this post if you like.
Hello, I came from MediaPortal 1.30 and wanted to Update on 1.32 x64 Edition. I cleanly uninstalled 1.30 first and then installed...
Replies
7
Views
795
Top Bottom