{NEED HELP} Executing .exe with params + Hotkeys
Hi its been years since I have last studied VB but now I've come to a problem (or rather a difficulty) I would like help solving. I run a computer lab at a school. The computers are on a LAN and my main problem is that students usually never turn off their computers when done. So I decided to implement the use of the built-in "Remote shutdown" function in windows XP. Now I would like to somehow implement this in a program. Heres how I aim for it to work.
This is the line that is going to execute the shutdown program:
Shell (C://****.exe -s -m //####sID)
The -m parameter is used to specify which computer on the network
I intend the integer "sID" to be the computer number - they are numbered from 00-30. (the first part of computer name is #### which should stay the same for all PCs in the room) My question is how make it so that I would only need to input #### at the start of the program and it will automatically set 31 buttons to execute the programs with sID increasing by one each time (i.e. button0-sID, button1-sID+1 button2-sID+2) I only want the #### part to be changeable by the user because this program is intended to be used in many classes.
Another thing is how would I set a specific hotkey to each button (i.e. button0- Ctrl+0.
I know this may be hard to understand but it was difficult to explain so please bare with me. Any help will be appreciated and I intend to include credits in the program. Thank you in advance

