Guest tamok Posted September 11, 2002 Posted September 11, 2002 Hi there I'm currently upgrading my applications to VB .NET and i got a serious issue : how can i include images in my project bigger than 256x256 ? In fact, the new ImageList module doesn't accept images bigger than 256x256 ; that's annoying If anyone know how to workaround, feel free to answer me :D Quote
*Gurus* divil Posted September 11, 2002 *Gurus* Posted September 11, 2002 If you're trying to include images over 256x256 pixels in your project, chances are an ImageList is not really the best way of doing it. What do you need these images for? ImageLists are really only useful for binding to other controls, IMO. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Guest tamok Posted September 12, 2002 Posted September 12, 2002 i use my images to do a fake "on mouse over" on my picture items : my images are button, and when the mouse is over, the image changes so how can i do this, as my pictures are big ? Quote
*Gurus* divil Posted September 12, 2002 *Gurus* Posted September 12, 2002 You can include images in the project, and mark their build action as "Embedded Resource". Then you can get them at runtime with the GetManifestResourceStream() method of the Assembly class. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Guest tamok Posted September 12, 2002 Posted September 12, 2002 I'm going to try this ; thanks a lot for your precious help ! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.