Resources eg bitmaps in

Posted on 2011-10-20
Last Modified: 2012-05-12

I have a question regarding resources eg bitmaps, icons, in

At the moment, when working on a form, I am specifying, for example, a bitmap for the background of the form by specifying a link to the bitmap in the properties window.

However, I believe that a bitmap can also be specified in the Resouce tab of the application by right clicking the project in the solution explorer and then opening up the Resouce tab. This allows the user to add strings, bitmaps, icons etc.

My question is whether there is any advantage in either method. I have read on the net that there is something that can be done with satellite assembly files (for different countries) and I don't fully understand this (see

Further, looking at the resulting files and folders and the solution I can't see where the bitmap that has been added exists.

Can anybody enlighten me and answer the questions above.

Question by:IssacJones
    LVL 83

    Assisted Solution

    When you specify the path of the bitmap in properties, its added to resources anyway.
    LVL 41

    Accepted Solution

    Let's say that you had 5 forms, all with the same bitmap background.  VB will copy that bitmap into each of the form's *.resx file.... so that's 5 copies of the same bitmap!   Using resource files, you can reduce this to 1 copy.

    Yes, you could also have a separate resource file for each language.  Consider if a graphic had the word "STOP" in it... you'd really need to have a different version of that graphic for spanish, german, etc.

    Take a look at the RESX file for the base-64 encoded XML representation of the graphics that you've embedded in your forms.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Suggested Solutions

    The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (…
    Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now