19-09-2008, 10:03 AM
I followed the tutorial posted the server when find but when I got to client I had this error
Compile Error Variable not define and it highlighted picsprites.hdc
Private Sub Timer_Timer()
On Error Resume Next
If optMale.Value = True Then
Call BitBlt(picPic.hdc, 0, 0, PIC_X, PIC_Y, picSprites.hdc, 0, Int(Class(cmbClass.ListIndex).Sprite) * PIC_Y, SRCCOPY)
Else
Call BitBlt(picPic.hdc, 0, 0, PIC_X, PIC_Y, picSprites.hdc, 0, Int(Class(cmbClass.ListIndex).Sprite) * PIC_Y, SRCCOPY)
End If
End Sub
Compile Error Variable not define and it highlighted picsprites.hdc
Private Sub Timer_Timer()
On Error Resume Next
If optMale.Value = True Then
Call BitBlt(picPic.hdc, 0, 0, PIC_X, PIC_Y, picSprites.hdc, 0, Int(Class(cmbClass.ListIndex).Sprite) * PIC_Y, SRCCOPY)
Else
Call BitBlt(picPic.hdc, 0, 0, PIC_X, PIC_Y, picSprites.hdc, 0, Int(Class(cmbClass.ListIndex).Sprite) * PIC_Y, SRCCOPY)
End If
End Sub