add icon with a resource file