当前位置:首页
开发技术指南» 文章正文
    引言:
 

 

 ·哪有windows版的qt破解版下载    »显示摘要«
    摘要: 谢先! ......
 ·如何控制浮点型精度    »显示摘要«
    摘要: 我在jsp中有以下几句语句: <script language=javascript> x=a/b; </script> 现在所得x的精度很高我想问一下怎么样才能使它转化为精度为1.00这样的数值或字符串都有行. 注意:是在客户端脚本,不是服务端脚本! ......


VB中延时函数怎么写(在线等待)

有人说是sleep,在pascal中是delay  
  我要是程序延时5秒钟,怎么找也找不到函数,知道的告诉我!

NO.1   作者: Intelement

You   should   use   Sleep   function.  
   
  The   Sleep   function   suspends   the   execution   of   the   current   thread   for   a   specified   interval.  
   
  Declare   Sub   Sleep   Lib   "kernel32"   Alias   "Sleep"   (ByVal   dwMilliseconds   As   Long)  
  dwMilliseconds  
  Specifies   the   time,   in   milliseconds,   for   which   to   suspend   execution.   A   value   of   zero   causes   the   thread   to   relinquish   the   remainder   of   its   time   slice   to   any   other   thread   of   equal   priority   that   is   ready   to   run.   If   there   are   no   other   threads   of   equal   priority   ready   to   run,   the   function   returns   immediately,   and   the   thread   continues   execution.   A   value   of   INFINITE   causes   an   infinite   delay.  
   
  This   project   needs   a   button  
  Private   Declare   Sub   Sleep   Lib   "kernel32"   (ByVal   dwMilliseconds   As   Long)  
  Private   Sub   Command1_Click()  
          KPD-Team   1998  
          URL:   http://www.allapi.net/  
          E-Mail:   KPDTeam@Allapi.net  
          Me.Caption   =   "Your   system   will   sleep   5   sec."  
          Sleep   for   5000   milliseconds  
          Sleep   5000  
          Me.Caption   =   ""  
  End   Sub  
  Private   Sub   Form_Load()  
          Me.Caption   =   ""  
          Command1.Caption   =   "Sleep   ..."  
  End   Sub  
 


 ·windowsxp出现新问题(在线等待)    »显示摘要«
    摘要: 每当进入xp后桌面上的快捷方式全没了,并且任务栏也没了,在桌面点击鼠标左右键也弹不出任何对话框.只是一进入xp后就弹出一个对话框(就是没出现此问题时点击我的电脑的快捷方式时弹出的那种).请问这是为什么 ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE