If you want to find out what language has been used to write a software (i.e. VBA, C++ etc.)

I am sure I have read something about that on some forum but I can't find it anymore and I have Googled it but with no luck.

Thanks
JC