Hi guys, i want to make a DRO count, let say from 100 count to the value of X, i've no idea what seems the problem 0.0, can you help me out? thanks!
Option Explicit
Declare Sub Sleep Lib "Kernel32" (ByVal dwMilliseconds As Long)
Dim X As Integer
Dim C
Sub main ()
X = getOEMDRO(1005)
For C = 100 To X
SetOEMDRO(1006,C)
Next C
End Sub
PS: As in i can see the moves from 100 to x, and i can see it reducing to x?