I have a smartdevice app written in vb.net 2005 and need to remap the buttons on the front of the device.

Having done this when the app exits the buttons need to be reset to their normal mapping.

Is this possible?