You are not Logged in
Would you like to Login or Register

Today is: Friday, 21 November, 2008
Check this months hot topics

Missing App.Path

If you have the need to load resources (XSL stylesheets, images etc etc) at runtime, you may need to know the path of the currently executing code. In VB6 you'd just use good old App.Path, here is the .Net equivalent.

 using System.IO;

 string Location = Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location);
kick it on DotNetKicks.com del.icio.us digg Mister Wong YahooMyWeb Reddit Furl Spurl blogmarks
Lee Keable Skype
Author : Lee Keable
Published : Wednesday, 26 July, 2006

Comments

Sameer said:

Hey thnx..

tat was helpful..

March 30, 2007 - 2:08 PM

Add Comment

Enter your comment below and it will be submitted for moderation.

Your Name

Add Tag

Please enter tags for this article, seperated by semi-colon ;

View Tag's by : # articles | # views