|
-
Sep 17th, 2001, 05:22 AM
#1
Thread Starter
Addicted Member
Direct to COM port
Hi everybody.
I'll posting this to more forums as I don't really know where it belongs ...
Problem: Is there any way (or a component) that would allow me to send specific data to a selected COM port.
I do not know how exactly COM port works but I am looking for something that if told would send for example 123 to COM1 or COM2.
So is there a way how to acomplish that?
TIA.
-
Sep 17th, 2001, 06:03 AM
#2
Use the MSComm control in VB
The MSComm1.CommPort property lets you set the COM port you want to use.
-
Sep 19th, 2001, 11:51 PM
#3
Frenzied Member
Or simply
VB Code:
Open Com3 For Output As #1
But if you need more then just sending info. I think you should go with the MSComm Control
-
Sep 20th, 2001, 01:38 AM
#4
Thread Starter
Addicted Member
Well, don't know yet which method will be better but I need to comunicate with cash register and actually I don't know yet whether it is two way communication or one way. Well, I'll see. Thanx.
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
|