* "Cor Ligthert" <no**********@planet.nl> scripsit:
What was it with you yesterday, mix up seconds with minutes.
And here mix up controls with variables.
?
:-)
Well, I did some optimization and got rid of the variable... ;-).
If I have the image 'Myimage.gif' in my application directory,
how do I load this image into a variable,
and then... set this = to a picturebox image property.
\\\
Me.PicturBox1.Image = Image.FromFile("C:\foobar.gif")
///
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>