Indeed, they are quite the same in terms of gaining but they are different in some features like reputation and becoming rich. In you lose in trading it will not destroy your reputation in fact people will be proud of you because you try to earned in a decent way but if you lose in gambling your reputation will be ruin specially if you lost almost everything including your family because gambling is a vice. In talking of to become rich, i think no one become rich because of gambling but i know a lot of people who become rich because of trading in these people make me inspired to pursue on trading.