Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Serialport
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01129986
Message ID:
01133404
Views:
17
>Hi
>
>Everything works (I capture the barcode) until I call the updateScan method, which is a method on a business object that writes the barCode to a table, but it just as easily be writing to a textBox and it would crash, I get something like a "cross thread" error. I have written some code in the text box that captures the error, but that just does not feel right.
>
>hope all that makes sense
>
>thanks
>
>Stuart

Is your serialport code running in a seperate thread from the main GUI (like in a backgroundworker or something)? Otherwise Jim's links might solve your problem.
Semper ubi sub ubi.
Previous
Reply
Map
View

Click here to load this message in the networking platform