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 -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -