查看: 1351|回复: 14
|
VB.Net 的问题。
[复制链接]
|
|
小弟用VB.Net Windows Application写了一个简单的Program,想要把这个Program用在另外一台电脑。我是不是要先做一个Application Setup Wizard或者Installer,然后在这台电脑 Run 这个Application Setup Wizard/Installer 才可以 Run 这个Program 的 EXE file? 请各位指点指点一下。谢谢! |
|
|
|
|
|
|
|
发表于 10-10-2005 08:57 PM
|
显示全部楼层
只要有.NET Framework,把需要的file抄过去直接运行就可以了,并不一定要用setup wizard。 |
|
|
|
|
|
|
|

楼主 |
发表于 10-10-2005 09:03 PM
|
显示全部楼层
小弟愚昧,可否说详细一点。是需要把 exe file 和 mdb file copy 过去 .NET Framework 就可以吗?如何copy去.Net Framework? 谢谢你的回应。 |
|
|
|
|
|
|
|
发表于 10-10-2005 09:06 PM
|
显示全部楼层
原帖由 alexlcng 于 10-10-2005 09:03 PM 发表
小弟愚昧,可否说详细一点。是需要把 exe file 和 mdb file copy 过去 .NET Framework 就可以吗?如何copy去.Net Framework? 谢谢你的回应。
不是copy去.NET Framework,是安装.NET Framework。 你的program执行时需要用到什么file就抄过去。 |
|
|
|
|
|
|
|

楼主 |
发表于 11-10-2005 12:09 AM
|
显示全部楼层
好的。小弟这就去试试看。感谢佳礼论坛让小弟认识这么电脑编程高手。谢了。 |
|
|
|
|
|
|
|
发表于 11-10-2005 04:10 PM
|
显示全部楼层
|
|
|
|
|
|
|

楼主 |
发表于 11-10-2005 06:53 PM
|
显示全部楼层
小弟已经安装了 Microsoft .Net Framework 以及把所需要的 Files copy 好了。当执行Application 时,出现以下的Error,小弟不懂得怎样解决。请您指点一下。谢谢!
Registered JIT debugger is not available. An attempt to launch a JIT debugger with the following command resulted in an error code of 0x2(2). Please check computer settings.
Cordbg.exe !a 0x954
Click on ............. |
|
|
|
|
|
|
|

楼主 |
发表于 11-10-2005 11:16 PM
|
显示全部楼层
苦瓜汤和Extrem23 两位大哥帮帮忙,小弟真的头大了。我已经安装了 。Net Framework 1.1,在执行Application时,还是碰上问题。 Registered JIT Debugger is not available.... |
|
|
|
|
|
|
|
发表于 13-10-2005 12:44 AM
|
显示全部楼层
原帖由 alexlcng 于 11-10-2005 06:53 PM 发表
小弟已经安装了 Microsoft .Net Framework 以及把所需要的 Files copy 好了。当执行Application 时,出现以下的Error,小弟不懂得怎样解决。请您指点一下。谢谢!
Registered JIT debugger is not available. ...
这已经进入debugging的步骤。你的程序可能出现run-time error了。
在这之前应该有另外的error message吧?
你是按了CANCEL才进入这里的吧?
那是什么error?有没有file no found或overflow之类的error?
如果有的话,把它post上来。 |
|
|
|
|
|
|
|

楼主 |
发表于 13-10-2005 01:05 PM
|
显示全部楼层
原帖由 meemee 于 13-10-2005 12:44 AM 发表
这已经进入debugging的步骤。你的程序可能出现run-time error了。
在这之前应该有另外的error message吧?
你是按了CANCEL才进入这里的吧?
那是什么error?有没有file no found或overflow之类的err ...
Meemee, 谢谢你的关注。是的,在这之前确实有一个Error。就是: Application has generated an exception that could not be handled. Process id=0xff057481 (-16419711), Thread id=0xff0231a9 (-16633431). Click Ok to terminate or Click cancel to debug the application.
我不知道这是什么问题。麻烦帮忙解答一下。谢谢! |
|
|
|
|
|
|
|
发表于 14-10-2005 10:28 AM
|
显示全部楼层
这runtime error太笼统,看不出是什么。
我的猜测是
1,电脑问题或 .NET framework的问题。
你用别架电脑试试看。
2,File copy得不完整,可能是一些ActiveX没有或path不对。
确定你需要的档案都有还有path都对。如果有3rd party的ActiveX或用了crystal report也需要copy或用setup wizard来解决。
另外,可以试试解决第二个问题,进入debugging,然后看看有没有特别的讯息,再把它post上来。
把cordbg.exe从你的电脑copy去实验电脑的SDK,BIN的path(通常是在
c:\program files\microsoft visual studio .NET 2003\SDK\v1.1\Bin)。
[ 本帖最后由 meemee 于 14-10-2005 10:37 AM 编辑 ] |
|
|
|
|
|
|
|

楼主 |
发表于 19-10-2005 06:36 PM
|
显示全部楼层
|
|
|
|
|
|
|
发表于 21-10-2005 12:21 AM
|
显示全部楼层
想请问, runtime error到底是什么东西出错呢?是程序吗?我的system偶尔也会在别架电脑出现酱的问题.. |
|
|
|
|
|
|
|
发表于 21-10-2005 09:05 PM
|
显示全部楼层
对不起, 在这插了个问题。 要如何include .net framework 在 vb .net 的 setup files( vb .net setup project) |
|
|
|
|
|
|
|
发表于 23-10-2005 11:44 PM
|
显示全部楼层
原帖由 红卜卜 于 21-10-2005 12:21 AM 发表
想请问, runtime error到底是什么东西出错呢?是程序吗?我的system偶尔也会在别架电脑出现酱的问题..
单靠runtime error是不能判断是什么问题(这是我的看法)。runtime error只是程序出错吧了。
如果有更加详细说明,那就可以判断得到。
像overflow error,division by zero,subscript out of range,file no found,type mismatch
这些都是编程(coding)的错误,通常可以在compile的时候找出到。
像not enough memory ,file access deny,write protect error,unexpected heap error,那就是电脑系统的关系了。
还有一些像,cannot find entry point……. ,pure virtual function call,还有alexlcng 楼主说的问题就比较复杂。 |
|
|
|
|
|
|
| |
本周最热论坛帖子
|