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

i love how subtitles are implemented in the MP2 videoplayer, this is just perfect. 1080p playback is also very good. But video playback in MP2 is buggy when playing 4k material. Therefore: PLEASE add an option for an external video player! I'd LOVE to have VLC back as videoplayer, like in MP1! This works perfectly. You will make a...
i love how subtitles are implemented in the MP2 videoplayer, this is just perfect. 1080p playback is also very good. But video...
i love how subtitles are implemented in the MP2 videoplayer, this is just perfect. 1080p playback is also very good. But video...
Replies
0
Views
344
For music you may use --> https://www.team-mediaportal.de/erweiterungen/musik/global-search With GlobalSearch you can search for any entry in your music database: Artist, Album, Title, Lyrics... I'm afraid there is no such plugin :unsure:
For music you may use --> https://www.team-mediaportal.de/erweiterungen/musik/global-search With GlobalSearch you can search for...
HI, I'm new to MediaPortal and have a question about searching for data. I have an extensive collection of music, films, and TV...
Replies
1
Views
930
I have an Antec Fusion Remote case with LCD display. Sorry I don't know the driver version, I have to check. But I installed the latest one for Windows 8.1.
I have an Antec Fusion Remote case with LCD display. Sorry I don't know the driver version, I have to check. But I installed the...
Good evening, HELP! I have an old installation because I have a family member who relies on the MiniDisplay plug in. It is...
Replies
6
Views
577
If you use a VPN connection to your home network, you should be able to use the MP client to connect to your server natively instead of using MPExtended.
If you use a VPN connection to your home network, you should be able to use the MP client to connect to your server natively...
I am another (almost) new user with a problem. About 18 months ago I managed to instal client and server of MP2 on my 32bit PC in...
Replies
5
Views
364
The UseSSL trick made MediaPortal great again, thanks.
The UseSSL trick made MediaPortal great again, thanks.
Hi, Trakt has work perfectly for me for over 10 years, but for some reason this week it will not Authorize my account. I can log...
Replies
10
Views
1K
Top Bottom