Member Avatar

DyO1

I have trouble accesing images that are located IN the application (in solution explorer)
What I want to do is theme options in one of my programs

If TreeView1.SelectedNode.Name = "wood" Then
            main.background*.BackgroundImage=
        End If

*PictureBox

If you import the images to Resources(Resources tab in project properties) you can access them through My.Resources. This way the images are automatically included in your application, and your app can access them at will.

commented: Thank you! +0