首 页健康生活新 闻留 言骗 子美女图片网络安全论 坛问吧注册码大全bt资源
张筱雨人体艺术   汤芳人体艺术  汤加丽人体艺术  石靖人体艺术   刘亦菲人体艺术   汤唯人体艺术  张柏芝人体艺术   人体艺术摄影
人体艺术摄影        BODY ART PHOTOGRAPHY
                                           Human essence of art, the human feelings of the perfect lens
首页
您当前的位置:地球村问吧电脑技术电脑常识 → 问吧内容 设为首页   加入收藏   联系我们
怎样查看历史记录里某个程序的运行时间?
作者:meilibao  来源:地球村  发布时间:2007-8-11 11:44:48
Body art from the West, male body is mainly a reflection of the strength of the United States. While the female body is mainly a reflection of the kind of a female-specific negative of tender.
Body art is static human form, does not contain sexual intercourse is exposed genitals or other to tease of limb movements. Good photographs focus on the human body is the use of light and shadow. The body was naked from the arts, the human body art is not carnal desire , vulgar. Accurately speaking, and now, the "body art" is not very precise. Art classification is based on the auditory,
怎样查看历史记录里某个程序的运行时间?
悬赏分:10 - 解决时间:2007-8-10 21:08
比如说玩QQ游戏玩了多久可以查出吗?急用,谢谢了!!
提问者:zhong_si - 助理 二级
最佳答案
利用函数GetTickCount就可以搞定,不过他是个API,需要声明一下下。
还有需要注意的是,这个函数返回的是毫秒,所以需要自己再转换单位的!
GetTickCount得到的是操作系统到现在为止的运行时间,那么用两次的返回值相减就可以了。

Option Explicit
Private Declare Function GetTickCount Lib "kernel32" () As Long
Dim a As Long

Private Sub Command1_Click()
MsgBox (GetTickCount - a) '应用程序的运行时间
End Sub

Private Sub Form_Load()
a = GetTickCount
End Sub

由于GetTickCount返回的值是DWORD类型。因此,操作系统再运行了49.7天后,这个值就会归0。
回答者:mingsheng5918 - 举人 四级 8-4 13:08
您觉得最佳答案好不好?目前有 0 个人评价

50% (0)

50% (0)
[ ] [返回上一页] [打 印]
Copyright © 2007 Diqiuc.Com. All Rights Reserved .豫ICP备07001840 Powered by Diqiuc.Com