woow.. slow down bro. im not getting a thing ur sayingmadurax86 said:for VB6 u can use a function
ex:
--------------------------------
const cPumpSpeed=1
const cLitrePrice=117 'isnt it not sure?
public curVol,curPrice as double
Function StartPumping()
timer1.enabled=true
timer1.interval=1 'a setting for speed
End Function
Function StopPumping()
timer1.enabled=false
end function
Private Sub timer1()
curVol = curVol + cPumpSpeed
curPrice=curVol*cLitrePrice
'format the number n use 7 segment frm here if u want it tel me i'll post
end sub

?
