PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms Linking to files instead of embedding resources

Reply

Linking to files instead of embedding resources

 
Thread Tools Rate Thread
Old 02-06-2005, 07:10 AM   #1
pekspro@home.se
Guest
 
Posts: n/a
Default Linking to files instead of embedding resources


If I create an ImageList in a form (with Visual Studio), and add some
images to it the images will be embedded in the resx-file. Could I link
to the image files instead? Embedding files makes it harder to update
the resources sense I must add the images again. If I could "link" to
which files to use it would be easier.

PEK

  Reply With Quote
Old 02-06-2005, 08:03 AM   #2
=?Utf-8?B?SmFrb2IgQ2hyaXN0ZW5zZW4=?=
Guest
 
Posts: n/a
Default RE: Linking to files instead of embedding resources

You can build the imagelist runtime using the method ImageList.Images.Add.
That way you can add bitmaps created from files.

HTH, Jakob.

--
http://www.dotninjas.dk
http://www.powerbytes.dk


"pekspro@home.se" wrote:

> If I create an ImageList in a form (with Visual Studio), and add some
> images to it the images will be embedded in the resx-file. Could I link
> to the image files instead? Embedding files makes it harder to update
> the resources sense I must add the images again. If I could "link" to
> which files to use it would be easier.
>
> PEK
>
>

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off