Search results for query: *

  1. S

    timer within class and return data

    '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...
  2. S

    accessing data from classes in vb.net

    think i have cracked it Private Class Test Inherits Timer Public var As String Public Sub enable() Me.Interval = 500 Me.Enabled = True End Sub Private Sub disable() Me.Enabled = False End Sub Public Function test() test = Now.Second End Function Private Sub Test_Tick(ByVal...
  3. S

    accessing data from classes in vb.net

    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...
Back
Top