vb.net exe文件的帮助 [英] help with vb.net exe file

查看:103
本文介绍了vb.net exe文件的帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个正在我的计算机上运行的应用程序,我可以从debug文件夹运行exe文件.可以说我将该文件夹复制到另一台机器上,然后尝试打开它,但它永远都不会打开.还有另一种创建单个exe文件的方法吗?我不想创建安装程序,我只想将exe文件复制到其他5个位置即可使用它.我有一个dll文件,我在运行该应用程序之前已在另一台计算机上注册了该文件,但仍然无法打开该文件.

有没有办法将Visual Studio 2010中的整个项目转换成一个exe文件?安装了.NET框架-如果不这样做,您所做的很少.
但是,从Vista开始安装了框架版本(2.0)(Win7具有V3.5),因此,如果将应用程序定位为1.0或2.0,则可以在任何一个OS上运行,但不能在XP上运行.当然,这意味着您将不得不在没有更高版本添加的功能的情况下进行编码! :laugh:


I have an application that i m working on that on my machine i can run the exe file from the debug folder just fine. Lets say i copy that folder to another machine i try and open it but it wont ever open. Is there another way to create a single exe file? i dont want to have to create an installer i just want to be able to copy the exe file to 5 other seats to use it. I have one dll file and i registered it on the other computer prior to running the application but still cant open the file.

Is there a way to turn a whole project in visual studio 2010 into one exe file?

解决方案

The first thing you need to check is that the other machine has the appropriate .NET framework installed - if it doesn''t then very little that you do will have any effect.
However, a version of the framework (2.0) was installed from Vista onwards (Win7 has V3.5) so if you target your application at 1.0 or 2.0 then it would be able to run on either of those OS, but not on XP. Of course, that means that you would have to code without the goodies added by later versions! :laugh:


这篇关于vb.net exe文件的帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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