Hello Russ,
Quote:
> I have a picturebox control with a default image in it. That image
file is
> an embedded resource. If a certain event occurs the image in this
picturebox
> will change. I know how to specify what file to change it to if that
image
> file were external but what if I want to make it an embedded resource
as
> well?
> Me.pbPinPref.Image = what goes here?
\\\
Me.picMyPicture.Image = CType( _
New Bitmap( _
System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStr
eam( _
"<ProjectName>.<FileName>" _
) _
), _
Image _
)
///
Don't forget to mark the bitmaps as embedded resources. Use your own
values instead of <ProjectName> and <FileName>.
Regards,
Herfried K. Wagner