In winfrom program if you want to get a folder path name "Process" under exectue application folder.
you can use this function => Path.Combine(Application.StartupPath, "Process")
Please DON'T put "\" Like this => Path.Combine(Application.StartupPath, "\Process")
You will only get string "\Process".
分享使用微軟開發工具及工作上會遇到的疑難雜症
2013-08-12
Path.Combine could be very useful
訂閱:
張貼留言 (Atom)
0 comments:
張貼留言