What I have is an application that has 2 forms(Main, Label). What I ma doing is that on the Label form th program needs to search the database, read a label file and then print about 3 different things and the run a shell command .bat that updates another program. What I thought I could to was to use a background worker to accomplish this. My problem is when I try to access the .Text value of a contol on the label form in a case statement it gives me the error below.
"Cross-thread operation not valid: Control 'cboLabelType' accessed from a thread other than the thread it was created on." I do not need to change the value on this control I just need to be able to access it. How can this be done? I a, using VB.net