Help with VB

nabil

Member
Mar 4, 2007
7,320
1
0
35
North Carolina / Kandy
madurax86 said:
for VB6 u can use a function
ex:
--------------------------------
const cPumpSpeed=1
const cLitrePrice=117 'isnt it not sure:P?
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:p
end sub
woow.. slow down bro. im not getting a thing ur saying :baffled: :rofl: