0

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

2
Contributors
1
Reply
12
Views
4 Years
Discussion Span
Last Post by tinstaafl
1

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.

Edited by tinstaafl

Votes + Comments
Thank you!
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.