- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
vb程序错误处理方法小结(Brief summary of error handling methods for VB program)
vb程序错误处理方法小结(Brief summary of error handling methods for VB program)
You know, even if programmers have the best intentions and plan to do very well, there is no way to avoid errors in the code. In fact, there are many procedural errors that may occur, but they can basically be divided into two types: one is compile error, and the other is runtime error. Compilation errors are errors that make the compiler Visual Bacsic (hereinafter referred to as VB) unable to compile the code. If the compiler error contains a process, VB will not execute the process, and we will not be able to provide users with a compilation error in the runtime version of the application, most compilation errors caused by syntactic errors.
Compile options for VB
VB has two set items that will greatly influence our ability to create very solid code. One setting item is Compile On Demand (compiled as needed), and the other setting item is Background Compile (background compilation). You can open the Options dialog box, select the General tab, and then set the two settings items, as shown in figure 1. When you select Compile On Demand, if you click the Run button on the toolbar, or press the F5 key, VB does not compile our project fully. Instead, these procedures are compiled only when the reference process is used. Using Compile On Demand usually allows larger projects or projects on slower computers to start running faster, but it can also cause some of the neglected compile errors.
Before you can find and correct all compile errors, you cant compile the project into a publication file such as.Exe or.Dll, so the Compile On Demand is not able to publish code with compile errors. However, when the Compile On Demand is selected, the compile error increases over time, forcing us to do a lot of error correction in the final attempt to fully compile. If you debug a project in IDE, VB often has to stop (not just pause) to run for error correction. This makes debugging a lot of compilation errors very tr
您可能关注的文档
- cubase 中英文对照(Cubase 中英文对照).doc
- c开头的英语四级词汇(C begins with an English vocabulary of level Four).doc
- 10000单字(1-10)(10000 words (1-10)).doc
- 200804vb程序设计基础期中考卷及答案(200804vb programming, basic exam papers and answers).doc
- 20110529上海市黄董参观(20110529 Shanghai Huang Dong visit).doc
- 20120927-问答广告策略-xmm(20120927- question and answer advertising strategy -xmm).doc
- 20121012系统集成项目管理工程师总结(20121012 systems integration project management engineer summary).doc
- 20101213年终压力最大十大职业排行(20101213 year-end pressure ten largest occupation ranking).doc
- c游戏编程(C game programming).doc
- c程序设计笔试题(C programming written examination questions).doc
- vb第1章编程思想(VB first chapter programming thought).doc
- vb第一章例题分析(VB Chapter 1 example analysis).doc
- u8打印问题汇集(U8 print problem collection).doc
- vb转word(VB转字).doc
- vc 动态链接库和静态链接库(VC dynamic link library and static link library).doc
- vc++6.0编译及链接时常见问题的解决及#pragma(Common problems in vc++6.0 compilation and linking and #pragma).doc
- vc 编译器基本使用(The basic use of the VC compiler).doc
- vb编程_计算机考试题(VB programming _ computer test).doc
- vc++编程中的文件操作(File operations in vc++ programming).doc
- vc6.0编译器参数设置(VC6.0 compiler parameter settings).doc
文档评论(0)