Open Image from solution folder vb.net -


i need open image solution folder (the name of folder images) image copied directory, tried this:

dim src string = "../images/logos/" & imagename dim myimage system.drawing.image = system.drawing.image.fromfile(src) 

but no works, works if put directory path like: c:/.../imagename.jpg

go 2 directories... (solution folder\bin\release)

dim src string = "..\..\images\logos\" & imagename 

Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

spring cloud - How to configure SpringCloud Eureka instance to point to https on non standard port -

javascript - Bootstrap Popover: iOS Safari strange behaviour -