S
Steve
Hello,
If I instantiate a class object from a form I would like
to be able to write to a label on the calling form
something like
"hello from class object"
from within a subroutine inside the class object. Is this
possible?
I tried the following in the class object
Public Class MyClass
Dim frm As New Form1
Sub RunProcess()
....
frm.lbl1.Text = "hello from class object"
Do While ...
.... takes about 5 minutes to run loop
Loop
....
End sub
End Class
If it is possible to write to a label on the calling form
from within the subroutine in my class object, may I ask
what the syntax looks like?
Thanks,
Steve
If I instantiate a class object from a form I would like
to be able to write to a label on the calling form
something like
"hello from class object"
from within a subroutine inside the class object. Is this
possible?
I tried the following in the class object
Public Class MyClass
Dim frm As New Form1
Sub RunProcess()
....
frm.lbl1.Text = "hello from class object"
Do While ...
.... takes about 5 minutes to run loop
Loop
....
End sub
End Class
If it is possible to write to a label on the calling form
from within the subroutine in my class object, may I ask
what the syntax looks like?
Thanks,
Steve