I took the path to the file out of the property. Then placed the bmp file in the directory where VCX resides. But still, at run time, no show.
>Just take are of the path. BMP or ICO need not a part of the VCX folder. Take care of your path.
>
>Aashish
>
>>I did try to copy the bmp and ico files to the directory where vcx resides. But for some reason it still didn't work. But I will try again, just to see that I was not missing something obvious.
>>Thank you for your help.
>>
>>>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.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham