Jeen

Jeen

  • NA
  • 4
  • 0

How to find the actual path of application directory

Jun 10 2008 2:13 AM

Dear Friends,

Can any one tell me how to find the path of a file in vc#.net. I made a setup of vc#.net application. I want to make a package folder contains this setup and other files. For example a directory called ABC which contains a setup folder of setup.exe and other files, another folder called 'Webaccess' which contains some more files.. like that 3 or 4 directories within that ABC folder. I can copy this ABC folder to any where in the computer. My question is that,,when i am installing my setup from this ,, no matter where this folder is located, i need the path of this ABC folder.. if i am running form D:/ drive then i need the path D:/ABC .. If i am running from c:/ i need the path C:/ABC/ .. I hope u can understand my question..

I need the answer urgently.. Any one please help me..

I am very thankful to all of u...

Pls...

 


Answers (1)