Home Forums WinForms controls Other WinForms controls Newbye question Reply To: Newbye question

User (Old forums)
Post count: 23064

The reason your picture is not appearing is because your code is invalid. You are retrieving the image from a file, but then you are not assigning it to the image variable. Try this instead for your code:

Dim image As Image
image = image.FromFile(“c:\xxx\xxx.png”)
Me.mnuBar.Items(0).Items(0).Image = image

Imported from legacy forums. Posted by paulplatter (had 3029 views)