巧用Timer定时器解决VB中循环造成的假死现象

何伟

电脑与电信 ›› 2017, Vol. 1 ›› Issue (11) : 82-84.

电脑与电信 ›› 2017, Vol. 1 ›› Issue (11) : 82-84.
经验交流

巧用Timer定时器解决VB中循环造成的假死现象

  • 何伟
作者信息 +

Using Timer to Solve the Suspended Animation Phenomenon Caused by the Loop Command in VB

  • HEWei
Author information +
文章历史 +

摘要

当前在使用VB语言编程过程中,如果遇到循环次数过多的循环命令或循环的嵌套层次较多时,很容易出现假死甚至假死机现象,而且循环执行的过程中用户无法中断。本文针对此问题展开研究探讨并给出解决方案。

Abstract

In the VB programming process, if there is too much loop command or too many nested statements, it is prone to lead to computer crash, and process execution of the user can not be interrupted. In this paper, this problem is studied and discussed and solutions are given.

关键词

VB / 循环 / 进度条 / 中断 / Timer定时器控件

Key words

VB / cycle / progress bar / interrupt / Timer control

引用本文

导出引用
何伟. 巧用Timer定时器解决VB中循环造成的假死现象[J]. 电脑与电信. 2017, 1(11): 82-84
HEWei. Using Timer to Solve the Suspended Animation Phenomenon Caused by the Loop Command in VB[J]. Computer & Telecommunication. 2017, 1(11): 82-84
中图分类号: G634.67   

Accesses

Citation

Detail

段落导航
相关文章

/