Hi Guys,

i am in a fix big fix. I have completed my vb project and have created the set up files as well.. Now when I try to install my program on another machine then it gives me an error. I found out the problem and it seems to be two of the images are not loading even though i have saved them in my application folder..
But when i save them in the resource folder the program runs but does not displays the images stored in the resource folder.
Could anyone please help me to retrieve .png image from resource folder
this is what i am using currently
dim tick as image
tick = My.Resources.ResourceManager.GetObject("button-tick.png")

Thanks a lot
ashwin

In the resources tab of your project properties, you need to import the image into the resources of the project (not the resource folder). This will create a resource file containing the resources of text, images, icons and any other kind of serializable object you need.

Hope this helps

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.