Am having an image in my Project-solution and i need to set the image dynamically?
for a picture box of winforms in vb.net?
how can i work with that.?
pls help.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Right click on the Project > Properties then select Resources
Click Images and Add an Image (eg Employee)
Then in code you can set the picturebox’s image property like this:
NameSpace is obvisouly the namespace of your solution. HTH