我的msn: myfend@
谢谢哈
请教怎么让一首音乐循环播放?
第三点不太明白啊 怎么使用APP。PATH ?
另加二个问题 1 FORM 窗口 加载了图片 后 怎么去除图片 我找不到这个选项
2 VB 怎么播放GIF图片呀 我用IMAGE控件加载GIF图片后 不会有GIF动画效果 就一张图片
[此贴子已经被作者于2006-12-17 12:04:28编辑过]
Option Explicit
Dim OneHasPress As Boolean
Dim TheKey1 As Integer, TheKey2 As Integer
Private Sub Form_KeyPress(KeyAscii As Integer)
If Not OneHasPress Then
TheKey1 = KeyAscii
TheKey2 = KeyAscii - 32
Select Case KeyAscii
Case 97
Print "97"
Case 98
Print "98"
Case Else
Print KeyAscii
End Select
End If
If Not OneHasPress Then OneHasPress = True
End Sub
Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer)
If KeyCode = TheKey1 Or KeyCode = TheKey2 Then OneHasPress = False
End Sub
Private Sub Form_Load()
OneHasPress = False
End Sub