Use each pistol as it was manufactured to be used. 9mm in a 9mm pistol, .40 in a .40 pistol. Conversion barrels and the like can be done, but buying a new pistol in the caliber you desire is not the cheapest way to go, but certainly the best. Better to spend a bit more to get what you want then...