Re: CrossThread operation
Follow the CodeBank link in my signature and check out my post on Accessing Controls From Worker Threads.
Re: CrossThread operation
thanks,
but i still have problem with printing from myFunction
the code that i use is this
from myFunction:
printReport() 'Function to print on textbox
the printReport function has this code
If txtReport.InvokeRequired Then
Else
Me.txtReport.Text = report
End If
but this doesn't work...
don't give me errors but don't write into txtbox
why??
Re: CrossThread operation
You've got nothing in your If block. You need to follow the instructions I provided to add code to the If block too.
Re: CrossThread operation
works!!!
thanks thanks thanks!!