how to get the application physical path in windows forms application

后端 未结 5 655
滥情空心
滥情空心 2020-12-16 04:20

how to get the application path in windows forms , i used the bellow code but it is saying like \"method not found\"

Application.ExecutablePath;
Application.         


        
5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-16 05:12

    Generally, Application.StartupPath() will give the path of the application. And also r u missing this namespace. System.Windows.Forms

提交回复
热议问题