find path
-
In ASP.net,I can use mappath method to find my path exactly if it put in my application ,but Window form,I can't Ex: in windodw form,I don't know use which method to find the path which I put in obj directory
help me
Just use: AppDomain.CurrentDomain.BaseDirectory please.
:^):^):^):^):^):^):^):^):^):^):^):^) :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::^):^):^):^)▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):^):^):^):^):^):^):^):^):^):^):^)
-
Just use: AppDomain.CurrentDomain.BaseDirectory please.
:^):^):^):^):^):^):^):^):^):^):^):^) :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::^):^):^):^)▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):^):^):^):^):^):^):^):^):^):^):^)
thanks about your answer,however my thought is not that; I will give a Example In windows Form if I put a Vunhat Named Created directory out directory debug and peer bin directory(or peer Debug directory) I don't know how to find the files in VuNhat directory because the default directory is actived is "......bin\\Debug\\"
help me
-
thanks about your answer,however my thought is not that; I will give a Example In windows Form if I put a Vunhat Named Created directory out directory debug and peer bin directory(or peer Debug directory) I don't know how to find the files in VuNhat directory because the default directory is actived is "......bin\\Debug\\"
help me
-
In ASP.net,I can use mappath method to find my path exactly if it put in my application ,but Window form,I can't Ex: in windodw form,I don't know use which method to find the path which I put in obj directory
help me
use System.IO.Path.GetFullPath(file name);