Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Images on buttons disappear
Message
From
10/03/2006 13:53:43
 
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
01102909
Message ID:
01103218
Views:
13
I thought that might be it, since I later saw a similar post from you under the MM category. =)

~~Bonnie



>It turned out to be a problem in the framework I was using.
>
>Thanks,
>Rick
>
>>>I have a form, I drop an imagelist on the form and put 2 images into it.
>>>
>>>I drop two command buttons on the form, and I set the imagelist of the buttons to the form's imagelist. I set the image of the two buttons.
>>>
>>>I see the image on the design surface, but when I run the app, the images are not visible.
>>>
>>>The images are included in the project, but not as a resource.
>>>
>>>Any ideas?
>>>
>>>Thanks,
>>
>>Ric,
>>
>>The executable is run from the bin folder which is a different relative path to the original image files. If the images will not be included in the compiled exe, you will have to make allowances for the path difference in your code.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform