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"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top