How do you load an image from resource file in vb 2010 expresss?

前端 未结 2 374
鱼传尺愫
鱼传尺愫 2021-01-07 01:45

First of all Im new to vb 2010 and so far have enjoyed what I have been able to do with it. That being said I have run into an issue with my current project.

Basica

2条回答
  •  清酒与你
    2021-01-07 02:30

    I have tried this form, and it is functional

    Picturebox1.Image = Image.FromHbitmap(My.Resources.imagename.GetHbitmap())

提交回复
热议问题