I have a STATUSSTRIP placed on a form called DESKTOP, which is always ON TOP and present. This form calls and runs everything in my VB.NET application, and happens to be the STARTUP form. I call an PROC which is one of my MODULES instead of CLASS. This PROC happens to run for a long time. I would like for the PROC to post an update to the STATUSSTRIP located on my DESKTOP form (calling form) using the STATUSSTRIPLABEL.VALUE1 and STATUSSTRIPLABEL.TEXT properties. How would I accomplish this?
I tried using DESKTOP.STATUSSTRIP.TEXT = "Something..." and it would not work from my SUB. Basically, my code would look like this on the FORM side.
PRIVATE SUB DESKTOP_ONLOAD() HANDLES FORM_LOAD
....
Call gsDoSomething
...
ME.STATUSSTRIPLABEL.TEXT = "Ready..."
END SUB
The PROC being called will live in a MODULESOMETHING.VB file in my project and its code will resemble...
PUBLIC SUB gsDoSomething()
....
DESKTOP.STATUSSTRIPLABEL.TEXT = "Doing something..."
...
END SUB
Any help or suggestion would be greatly appreciated.
I tried using DESKTOP.STATUSSTRIP.TEXT = "Something..." and it would not work from my SUB. Basically, my code would look like this on the FORM side.
PRIVATE SUB DESKTOP_ONLOAD() HANDLES FORM_LOAD
....
Call gsDoSomething
...
ME.STATUSSTRIPLABEL.TEXT = "Ready..."
END SUB
The PROC being called will live in a MODULESOMETHING.VB file in my project and its code will resemble...
PUBLIC SUB gsDoSomething()
....
DESKTOP.STATUSSTRIPLABEL.TEXT = "Doing something..."
...
END SUB
Any help or suggestion would be greatly appreciated.