如何获取已安装应用程序的路径 [英] how to get the path of the installed application
问题描述
我有一个可以在本地计算机上完美运行的应用程序,但是当我将这段代码移到服务器上时,它无法正常工作
问题是在页面中,我下载了模板并输入详细信息并上传,然后从服务器运行它时出现了问题,但相同的操作在我的本地计算机上运行良好
它显示的问题是< b>文件名的位置不正确"</b>
因此,我需要知道安装的应用程序的路径,以便在上载文档时可以找到该路径..
请帮帮我
I have a application which runs perfectly on my local machine,but when i move the piece of code to a server,its not working
The problem is in a page i download a template and enter details and upload then the problem arises when i run it from server , but the same operation works well in my local machine
The problem it is showing is <b>"Location of the file name is not correct"</b>
So i need to know the path of the application installed so that i will the path while uploading the document..
Please help me out
推荐答案
这可能对您有帮助,
http://forums.devshed.com/net- development-87/getting-installed-app-path-in-c-179774.html [
this might help you,
http://forums.devshed.com/net-development-87/getting-installed-app-path-in-c-179774.html[^]
这篇关于如何获取已安装应用程序的路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!