A code is a rigid regulation.
A convention is an agreement worked out by all the parties involved for conducting a specific procedure. It is not as rigid as a code because the agreement can easily be revised by all the parties involved.
Your question is still ambiguous. But to answer generally, a code refers to a collection of all the specific rules in a particular area and they are generally bindingA convention on the other hand may mean a treaty or an established practice which are generally adhered.For More Information visit http://windows7.iyogi.net/
Other people asked questions on similar topics, check out the answers they received:
Other people asked questions on various topics, and are still waiting for answer. Would be great if you can take a sec and answer them