Re: ComboBox text Property

Tech-Archive recommends: Fix windows errors by optimizing your registry



If the text that you are sending from the combobox are ADDED to it in the
DataReceived event, then (see my example using a Delegate) Invoke or
BeginInvoke syntax is demanded.

In your code, all you are attempting to do is to read a string from the
combo and to send that string when you see a specific character (right?).
Assuming this is so, then, marshaling is not needed. However, see my other
response to make more clear why your code may not be working.

***

--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.


.


Quantcast