I'm trying to create a program in Visual Basic to assign a function key to print a screenshot of the current screen and another one to print a list of the files in the currently selected folder in File Explorer.

The key assignments need to remain active even after the program that assigns the keys has been closed.

Does anyone know how to do this?