user1186276
user1186276

Reputation:

Access images contained within Solution Explorer

I'm trying to access some images I've copied into a folder within Solution Explorer. For the life of me I can't figure out how to access them programmatically. The only other question I found that appeared similar was not answered. Any help would be appreciated.

I'm using VB 2010 Express Edition. The folder name is 'Images'. The image name is 'checked.png'.

Upvotes: 1

Views: 1188

Answers (1)

Brad
Brad

Reputation: 163438

Unless you put them as resources, you cannot. They are just like any other source file in your application.

Import them as a resource, and then you'll be good to go.

http://support.microsoft.com/kb/319291

Upvotes: 2

Related Questions