AFP - US software giant Microsoft on Monday signed an agreement with a Vietnam government ministry to use only licensed programmes in a bid to reduce rampant software piracy in the communist country.