|
-
Mar 16th, 2008, 10:18 PM
#1
Re: read string from COM1 without MSCOMM
 Originally Posted by dhell
thanks for reply cdrive,
I'm not allowed even 1 component to do the code. but I think it is make sense because I can send "hello world" string to my serial device, the code is in my previous post. And it works 100 %.
I'm sorry but correct me if I'm wrong, components are build from VB code too, right? so if it works with component, if I write the code (code to make the components) from the component manually, it sure will work too? correct?
Thanks anyway, I'm still hoping someone could help me 
Well, I don't know why you think you're building controls with the code you posted. What you're doing is treating the serial port as a File. While your code does output data from the serial port I don't see how your going to have any flow control or any of the necessary properties required for practical serial com. I did find your code novel though. I don't find it very practical though, except as an exercise. Doogle has expertise with serial com. Perhaps he can help you. He usually answers comm questions.
Btw, if it works 100% of the time then what is your problem?
<--- Did someone help you? Please rate their post. The little green squares make us feel really smart!
If topic has been resolved, please pull down the Thread Tools & mark it Resolved.
Is VB consuming your life, and is that a bad thing?? 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|