分析神之网马源代码遇到的问题。

发布时间:2024-05-13 13:05 发布:上海旅游网

问题描述:

最近我在学VB,是初学者。在看源代码,是神之网马的源代码,有一段看不懂,
Private Sub Form_Load()
Shell "cmd /c" + "regsvr32 c:\神之网马\data\COMDLG32.OCX", 0
Shell "cmd /c" + "regsvr32 c:\神之网马\data\MMBT_OSXE.ocx", 0
End Sub

Private Sub Timer1_Timer()
Shell "cmd /c" + "start c:\神之网马\", 0
Shell "cmd /c" + "del c:\神之网马\start.exe", 0
End
Shell "cmd /c" + "del c:\神之网马\start.exe", 0
End Sub

Private Sub Timer2_Timer()
Label6.Caption = Label6.Caption - 1
End Sub
就是最后的一句,Label6.Caption = Label6.Caption - 1这是什么意思?
caption(是Label6框中的内容)的属性是一个源代码加密解密网页的HTML代码。不知道这-1又赋给它是什么意思?
如果caption=5,再-1,当然就是这个意思。问题是caption不是一个常数,而一个网页代码,它-1好像不是=4那么简单

问题解答:

????
就是减1的意思啊!
就向这样:
a=5;
a=a-1;(结果为a=4)

热点新闻