Member Avatar for 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
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.