Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BMPs and ICOs in excluded classes
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00800224
Message ID:
00800266
Views:
27
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform