Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / March 2008

Tip: Looking for answers? Try searching our database.

Access images subfolder of application root from exe in bin folder

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Phil Johnson - 09 Mar 2008 20:09 GMT
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.

Signature

Regards,

Phillip Johnson (MCSD For .NET)
PJ Software Development
www.pjsoftwaredevelopment.com

Rad [Visual C# MVP] - 09 Mar 2008 22:24 GMT
> I have an exe that runs in the bin folder of the installed application root
> folder.
[quoted text clipped - 5 lines]
>
> Thanks.

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

http://www.thinkersroom.com/bytes

Phil Johnson - 10 Mar 2008 09:48 GMT
Ah, this is a wpf app (so it will be the same as a winforms app) not a web
app though.

Signature

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.
[quoted text clipped - 8 lines]
> You can use the ResolveUrl method from the calling page, passing it
> "~/images"

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.