'how can i access this class, without putting a timer of the form, i.e the form 'loads and continues to read label.text
PrivateClass clock
Inherits Time
PublicFunction systemtime()
IfMe.Enabled = FalseThen
Me.Interval = 500
Me.Enabled = True
EndIf
systemtime = Now.Second
EndFunction...
Hi all,
i'm stuck with a class problem, i want to create a class that, say for example gets the system time, and can be displayed in label or textbox but can be accessed many times....
ok i'll start with a pseudo example.
VB.NET
pseudo code....
public function test(variable)
do...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.