how to get the application physical path in windows forms application

后端 未结 5 628
滥情空心
滥情空心 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条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-16 05:05

    System.Windows.Forms.Application.StartupPath must return the path of the running executable.

提交回复
热议问题