No device found on COM10
Even if you could load the program into another memory area the IDE would need to be able to communicate with the board.
Does your PC have a COM10 ?
Can you see COM10 in the IDE ?
Does the port disappear if you unplug the Arduino and appear again when you plug it back in ?