View Single Post
  #2 (permalink)  
Old June 1st, 2012, 03:12 AM
sumith sumith is offline
Authorized User
Points: 270, Level: 5
Points: 270, Level: 5 Points: 270, Level: 5 Points: 270, Level: 5
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2006
Location: thrissur, kerala, India.
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
I resolved the issue.

Code:
Dim bitmap As Bitmap
bitmap = CType(My.Resources.ResourceManager.GetObject("B"), Icon).ToBitmap
PictureBox1.Image = CType(bitmap, Image)
where, B is the name of the icon in the resource file.
__________________
sumith