Code Blocks

When I try to open an existing program, it opens it in notepad instead of the actual app. How can I fix this?
On Windows right click on the file => Properties => Opens with
Topic archived. No new replies allowed.