Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/12/99 17:07
Read: times


 
#217 - RE: using visual basic 6.0 and the 8052
I'm doing the same thing that your trying to do. I haven't got everything working quite right yet, but here's how I'm approaching it. First, decide whether you want a fixed length message or a variable length one with a terminator (or prefixed byte count). On the VB side, use the MS Comm control. If you have a fixed length message, set the rthreshold property to the length of that message. If you have a variable length one, set rthreshold to 1. This causes the oncomm event to fire when rthrehold characters are received. You can then use the input property (inside of the oncomm() event) to get your data. I hope this gets you started. Take a look at the VB help file for the Comm control.

List of 6 messages in thread
TopicAuthorDate
using visual basic 6.0 and the 8052            01/01/70 00:00      
RE: using visual basic 6.0 and the 8052            01/01/70 00:00      
RE: using visual basic 6.0 and the 8052            01/01/70 00:00      
RE: using visual basic 6.0 and the 8052            01/01/70 00:00      
RE: using visual basic 6.0 and the 8052            01/01/70 00:00      
RE: using visual basic 6.0 and the 8052            01/01/70 00:00      

Back to Subject List