Hi, I have a web application built on ASP.NET (VB). The application runs under one virtual directory says "App", but when running, sometimes, it needs to display some JPG images to clients which are in the other Virtual directory, says "Image".
What i am doing now is to hard code the server name in string, like "http://myhost/Image/1.jpg
" this works fine now, but i need to trans the application to other server, thus will cause me problem on displaying those images.
So, is there a way to get server name dynamicly or displaying those images in another virtual directory? Thanks a lot.
By the way, those images cant be put under the same virtual directory "App", or even App/image/.