visual basic编译错误 [英] visual basic compile error

查看:140
本文介绍了visual basic编译错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual Basic 5.0,并在将我的应用程序编译为.exe文件时收到错误。我可以在VB 5下运行我的应用程序,但是当我尝试将代码编译为可执行文件时,我得到错误"未定义的变量"。变量是iChannel,其中
我相信是一个Windows级别的函数。我发现iChannel的引用是状态是mscorlib.dll的一部分。那个dll不在我的系统上(顺便说一下这是Windows 98。没有评论,这是我必须维护的旧测试系统。)所以我将
dll复制到系统中,但我猜我需要链接到VB的某个地方,以允许我的应用程序编译到.exe文件。我不知道该怎么做,所以我可以使用专业人士的一些建议。

I am using Visual Basic 5.0 and receive an error when compiling my application to an .exe file. I can run my application under VB 5, but when I try to compile the code to the executable, I get the error "undefined variable". The variable is iChannel which I beleive is a Windows level function. I have found references to iChannel that state is is part of the mscorlib.dll. That dll was not located on my system (this is windows 98 by the way. No comments, it's an old test system I must maintain.) so I copied the dll to the system, but I'm guessing that I need to link to that from VB somewhere to allow my application to compile to the .exe file. I don't know where to do that so I could use some advice from you pros.

提前致谢。

Dayle Swensen

Dayle Swensen

推荐答案

这不是vb5论坛。

This is NOT a vb5 forum.

Renee


这篇关于visual basic编译错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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