Add an ICON statement to your resource script file. Insert the following line at the beginning of the resource script file, immediately after the #include directives:
MyIcon ICON MYICON.ICO