Home All Groups Group Topic Archive Search About

How to have embeded pictures in a project

Author
28 Mar 2005 6:05 AM
Aris
Hi to all,

I am trying to insert in the resources a picture so I want have to have it
in the HDD
but when I try to reference on it I get an error that says a null expretion
is not permited

Regards

Aris Lazaridis

Author
28 Mar 2005 11:44 AM
Bob Powell [MVP]
Windows Forms Tips and Tricks explains how to find the reesources in your
assembly.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.





Show quoteHide quote
"Aris" <A***@discussions.microsoft.com> wrote in message
news:D4860716-378F-4BE6-B401-FE13238E90C1@microsoft.com...
> Hi to all,
>
> I am trying to insert in the resources a picture so I want have to have it
> in the HDD
> but when I try to reference on it I get an error that says a null
> expretion
> is not permited
>
> Regards
>
> Aris Lazaridis
Author
28 Mar 2005 8:43 PM
Herfried K. Wagner [MVP]
"Aris" <A***@discussions.microsoft.com> schrieb:
> I am trying to insert in the resources a picture so I want have to have it
> in the HDD
> but when I try to reference on it I get an error that says a null
> expretion
> is not permited

See:

<URL:http://groups.google.de/groups?selm=OrAKC73DFHA.1932%40TK2MSFTNGP14.phx.gbl>

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
1 Apr 2005 4:37 PM
Aris
Thanks the 'Embedded Resource' was the problem
regards

Aris


Show quoteHide quote
"Herfried K. Wagner [MVP]" wrote:

> "Aris" <A***@discussions.microsoft.com> schrieb:
> > I am trying to insert in the resources a picture so I want have to have it
> > in the HDD
> > but when I try to reference on it I get an error that says a null
> > expretion
> > is not permited
>
> See:
>
> <URL:http://groups.google.de/groups?selm=OrAKC73DFHA.1932%40TK2MSFTNGP14.phx.gbl>
>
> --
>  M S   Herfried K. Wagner
> M V P  <URL:http://dotnet.mvps.org/>
>  V B   <URL:http://classicvb.org/petition/>
>
>