unless you have the sourcecode, its difficult to view the source unless you ask the coder.. or try a decompiler but often they cause more harm than good.
It all depends on what language the application was coded in. Like Arkserver said, there are quite a few decompilers out there but they are not all 100%.