When you compile to exe your bmps and ico are attached with the exe, hence you can see them when you run an exe.
In the case when you add a form in a class and call in a runtime the forms have some external link to bmp and ico which you dont copt to clients computer.
Solution:
Copy the bmp and ico along with vcx in the same directory of the client as you have in your development environment.
Aashish
>Sometimes I need to add a form to project specific to only one customer. Since I don't want to increase the size of .exe and "burden" other customers, I create a "customer-specific" form in a class library and exclude this library from the project. Then the "customer-specific" class library is copied to the customer drive and at run-time the application load the form. So far all works well.
>
>The only problem I see so far, is that the BMPs in buttons of the "customer-specific" form class don't show. Neither do icons. Is there a trick to make the BMPs and icons appearing in these forms?
>
>TIA for any suggestions.