Getting error regarding an Icon file?

BlakeMcKenna
BlakeMcKenna used Ask the Experts™
on
I'm getting this error (see attached image) and I don't know where it's being genereated. The file in question does reside in my Resources File.
Screenshot.jpg
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2015

Commented:
Resource files are regenerated each time you compile. If the image file is no longer available at the original location, the compiler cannot recreate the resource.

The best way to work with external resources is to create a sub-directory in your project, copy all the necessary resources in that directory, and point to that directory for your resources. That way, if the original file is not longer available, or if the project is moved from one computer to another, the referenced file will still be there.

Author

Commented:
You mentioned in another post it wasn't a good idea to have sub-directories like that because user's could possibly delete them?
Top Expert 2015
Commented:
I am talking here about a subdirectory in your project, which won't be installed on the user computer, since the images are incorporated in the application itself through the resource files. This is a directory used by the compiler, not by the application.

I do not remember about that other post, but it was probably because the images were distributed as individual image files, which is not the same thing as resources.

Author

Commented:
That makes sense...thanks for the clarification James!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial