Access images subfolder of application root from exe in bin folder

  • Thread starter Thread starter Phil Johnson
  • Start date Start date
P

Phil Johnson

I have an exe that runs in the bin folder of the installed application root
folder.

I need to load some images dynamically which are in a folder called 'images'
in a sub folder of the root folder.

How can I access this folder at runtime from my exe running in the bin folder?

Thanks.

--
Regards,

Phillip Johnson (MCSD For .NET)
PJ Software Development
www.pjsoftwaredevelopment.com
 
I have an exe that runs in the bin folder of the installed application root
folder.

I need to load some images dynamically which are in a folder called 'images'
in a sub folder of the root folder.

How can I access this folder at runtime from my exe running in the bin folder?

Thanks.

You can use the ResolveUrl method from the calling page, passing it
"~/images"
 
Back
Top