Sunday, November 30, 2014

How to explicitly convert an object to a System.Drawing.Bitmap

Try this:


Return CType(My.Resources.ResourceManager.GetObject("Lightoff"), Bitmap)


No comments:

Post a Comment