Activation codes for Flight Simulator X are unique to each retail copy that was produced, which means there is no general code that will work for everyone.
Posting or using a code that belongs to somebody else is not a workaround. It infringes the licence that came with their copy and amounts to theft of software, which is the kind of activity covered by bodies such as the Federation Against Software Theft. This site does not support or encourage it.
If you have lost the code that shipped with your own copy, check the disc case and manual first, then contact Microsoft support with your proof of purchase. If you no longer have the disc at all, a legitimate second-hand copy or a current flight simulator from a storefront like Steam is the straightforward route.