Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Load Image From Resource File
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01416518
Message ID:
01416543
Views:
62
>How do I load an image into a picturebox from the resource file?
>
>I spent many hours on Google looking for this, and all the solutions I tried didn't work. Someone show me how to do this please.

Do you mean at design time or programatically?
If the latter then something like :
this.pictureBox1.Image = global::ApplicationName.Properties.Resources.ResourceName;
where 'ApplicationName' is the name of the project containing the resource and 'ResourceName' is the name of the resource.
HTH,
Viv
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform