Dear Friends,

I have add resource file with number of images to my project.
My question is, after deyploment and setup of the windows base application, i cannot I find resources file on the client pc, but the pictures are visible?

Thank you in advance,

André

Recommended Answers

All 2 Replies

The resources are compiled into the app if we are talking about the usual Visual Studio C# system.

I don't see your followup question here. What I got via email was:

what does the compiler do with images, files and sound fragments. Do they come in a separate file and are installed on the client pc?

There are many tutorials on this so I'll note http://www.csharp411.com/embedded-image-resources/ which is one place the resource could be. There's code to test if it's in that area. I'll also note in passing tools that let us explore the usual EXE and DLL files.
https://www.mitec.cz/exe.html
http://www.pe-explorer.com/

I'm sticking with my short answer here that such is "compiled into" the app's EXE and DLL files. That said a commercial app I did long ago externalized the resources so the company could change the logo bitmap without having to edit the EXE or DLL or contracting me to issue a new version of the app. Again, this goes beyond my short answer so I pause here.

commented: thank you for your answer and tutorails, now everything is clear +0
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.