Launch application plugin (1 Viewer)

therantis

New Member
April 2, 2006
2
0
Hi,

I am finding myself completely lost with C#. I am by heart a VB6 programmer and I am usually able to figure things out if I stare at it long enough. However not this time.

I've done the tutorial on creating a plugin skeleton and have things laided out as wanted but I can't figure our how to execute an application when I click on a button.

Any help would be appreciated.

Thanks
 

samuel337

Portal Pro
August 25, 2004
772
0
Melbourne, Australia
Um... the my programs plugin already does this.

But here's some code for you to start applications in C#:

System.Diagnostics.ProcessStartInfo SI = new System.Diagnostics.ProcessStartInfo();
SI.Arguments = "insert here if required";
SI.FileName = "insert app filename here";
SI.WorkingDirectory ="insert here if required";

System.Diagnostics.Process.Start(SI);

Sam
 

therantis

New Member
April 2, 2006
2
0
samuel337 said:
Um... the my programs plugin already does this.
Sam

I understand that the My Programs plugin does this however I want to launch an app from the home menu . I don't want to have any submenus at all.

I just would like to click on a button on the home screen for the plugin and have it launch my exe.

Thanks from the code as it will be useful.

Patrick
 

Users who are viewing this thread

Top Bottom