how to application path

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rsubramonyin
    New Member
    • Aug 2008
    • 5

    how to application path

    How do I get the path of the directory where the mobile application's exe . I need to write a code to read an xml file which will reside in the mobile appn in the same directory where the exe reside.pls help me I am developing in c#
  • markmcgookin
    Recognized Expert Contributor
    • Dec 2006
    • 648

    #2
    string path = Path.GetDirecto ryName(Assembly .GetExecutingAs sembly().GetMod ules()[0].FullyQualified Name

    Comment

    • rsubramonyin
      New Member
      • Aug 2008
      • 5

      #3
      Thanks . I am bale to get the application path now

      Comment

      Working...