Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Serialport
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Divers
Thread ID:
01129986
Message ID:
01133404
Vues:
18
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform