471,306 Members | 1,321 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,306 software developers and data experts.

Adding image to project

VMI
How can I add an image so that it's embedded into the project? I only want
the image to be accesible through the project (not an external file). How
would I add it to Resources? Would I be able to access it with
Properties.Reources.myFileName ?

I have .Net 2005.

Thanks.
Feb 8 '06 #1
1 1331
Hello VMI" vonchi_m AT yahoo DOT com,

ImageList class, but u need reference to Windows.Forms namespace

Either u can write your own class to keep pictures in binaries

V> How can I add an image so that it's embedded into the project? I only
V> want the image to be accesible through the project (not an external
V> file). How would I add it to Resources? Would I be able to access it
V> with Properties.Reources.myFileName ?
V>
V> I have .Net 2005.
V>
V> Thanks.
V>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Feb 8 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Jonas L | last post: by
8 posts views Thread by Dave Quigley | last post: by
3 posts views Thread by Bern | last post: by
2 posts views Thread by Don Tucker | last post: by
11 posts views Thread by Andy Chan | last post: by
5 posts views Thread by DBC User | last post: by
1 post views Thread by cleary1981 | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.