该程序需要一个缺少的Windows组件 [英] this program requires a missing windows component

查看:43
本文介绍了该程序需要一个缺少的Windows组件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我在Visual Studio 2010中创建了一个c#Windows应用程序.我在32位Win7 OS上进行了构建和测试.我也在其他32位Win7 OS上进行了测试.结果是应用程序完美运行.

但是当我在Vista上进行测试时,它给了我一些问题,例如:

1)该程序需要缺少Windows组件.
我正在此表单上使用Web浏览器控件.

2)*********已停止工作.
我正在此表单上使用线程


我很沮丧地寻求解决方案.

请帮助我摆脱这些情况.

等待您的回应.

谢谢与问候
Kapil

Hello,

I have created a c# windows application in Visual Studio 2010. I build and tested it on 32-bit Win7 OS. Also I tested it on some other 32-bit Win7 OS. The result is application works perfectly.

But when I test it on Vista it gives me some problems like :

1) This program requires a missing windows component.
I am using a webbrowser control on this form.

2) ********* has stopped working.
I am using threading on this form


I am very frustrated to get the solution of it.

Please help me to get rid of these situation.

Awaiting your response.

Thanks and Regards
Kapil

推荐答案

我认为您需要更新与Windows 7相同的.net框架版本.

可能会解决您的问题.
I think you need to update your .net framework version same as your windows 7 have.

it might solve your problem.


1.在目标计算机上检查.net框架的版本.

2.如果使用的是任何SDK,请确保其运行时在目标计算机上.

3.尝试制作一个将项目依赖项部署到目标计算机上的安装项目.
1. Check the .net framework''s version on target computer.

2. If you are using any SDK then make sure its runtime is on the target machine.

3. Try making a setup project which will deploy the dependencies on target machine.


这篇关于该程序需要一个缺少的Windows组件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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