将我的应用程序运行到另一台计算机时出错. [英] Error when run my application to another computer.

查看:78
本文介绍了将我的应用程序运行到另一台计算机时出错.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好!

我在vb.net 2013中完成了我的申请.

I finish my application in vb.net 2013.

现在,如果我运行该应用程序(Visual Studio外部的最终.exe),在我创建应用程序的计算机上,一切正常.

Now if I run the application (The final .exe outside Visual studio )  on my computer where I have created the application , everything works ok.

我将应用程序安装在另一台计算机上.但是,当我尝试运行时,出现错误消息:

I install my application on another computer.But when I try to run I get an error :

找不到名为"Draw ThemeBorder"的入口点;在DLL"uxtheme.dll"上.

Unable to find an entry point named "Draw ThemeBorder" on DLL "uxtheme.dll".

该应用程序是为.NET 4.0创建的(安装在两台计算机上).

The application is created for .NET 4.0 (installed on both computers ).

两台计算机都装有Windows 7 x32.

Both computers have Windows 7 x32.

我该怎么办?

谢谢!

推荐答案

你好!

我在vb.net 2013中完成了我的申请.

I finish my application in vb.net 2013.

现在,如果我运行该应用程序(Visual Studio外部的最终.exe),在我创建应用程序的计算机上,一切正常.

Now if I run the application (The final .exe outside Visual studio )  on my computer where I have created the application , everything works ok.

我将应用程序安装在另一台计算机上.但是,当我尝试运行时,出现错误消息:

I install my application on another computer.But when I try to run I get an error :

找不到名为"Draw ThemeBorder"的入口点;在DLL"uxtheme.dll"上.

Unable to find an entry point named "Draw ThemeBorder" on DLL "uxtheme.dll".

该应用程序是为.NET 4.0创建的(安装在两台计算机上).

The application is created for .NET 4.0 (installed on both computers ).

两台计算机都装有Windows 7 x32.

Both computers have Windows 7 x32.

我该怎么办?

谢谢!

.dll文件(uxtheme.dll)必须与程序一起复制或安装.

The .dll file (uxtheme.dll) has to be copied or installed along with your program.

您可以将其安装在GAC中,但最简单的方法是将其包含在您的.exe文件所在的目录中,然后它将找到它,并且程序应该可以正常运行.

You can install it in the GAC but the easiest thing is to include it in the same directory that your .exe file is, then it will find it and the program should run fine.


这篇关于将我的应用程序运行到另一台计算机时出错.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆