Check the resources is available in VB application
Is there any in-built way to check the resource available in VB app or not. My requirement is display the image saved in resource folder based on the result returned from the API. So to achieve that i will be appending the application path with the variable returned from the response to dispalying the image. It's rendering the image if found in the resources folder and throwing 404 error when the image is not found. In this case i need to remove the image tag and to display a span tag with their name in UI.
So, I'm not able to check the image is found or not on load . Need you suggestion in this? Please find the src tag that i'm using in page.