pvaju896 pvaju896 - 1 year ago 107
Vb.net Question

Set the Image path for Windows application?

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.

Answer Source
  1. Right click on the Project > Properties then select Resources

  2. Click Images and Add an Image (eg Employee)

Then in code you can set the picturebox's image property like this:

Me.picBox.Image = Global.NameSpace.Properties.Resources.Employee

NameSpace is obvisouly the namespace of your solution. HTH

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download