Jump to content

I'm trying to code a launcher since Advanced Launcher seems to be having issues in Kodi. To give you background, I built a gaming HTPC that I use with a wireless Xbox 360 controller. I could go get a program like Joy2Key that will allow me to use the controller for keyboard input so I could input Alt+F4 but I'd rather have a application that manages the launching and closing of emulators.

 

So the main issue is that the emulator doesn't close after a game is finished without keyboard input.

 

Therefore I'd like to code a conditional in VB that checks whether a specific emulator is running and if it does to terminate it. Something similar to the below psuedocode:

Button Click CloseEmulator()If ProcessRunning is == Process.GetProcessbyName("Project 64"):Terminate Project 64Elseif ProcessRunning is == Process.GetProcessbyName("VisualBoyAdvance"):Terminal VisualBoyAdvanceetc... 
Link to comment
https://linustechtips.com/topic/382201-vbnet/
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×