Computing.Net > Forums > Programming > Serial Input/Output in VB

Serial Input/Output in VB

Reply to Message Icon

Original Message
Name: mala
Date: September 13, 2003 at 04:24:11 Pacific
Subject: Serial Input/Output in VB
OS: Win95
CPU/Ram: P-4,128mb
Comment:

Dear Friends,
Can anyone help me in writing a program to get & put a string in a serial port like COM1 Port.

It is very urgent.

Thanx in advance.


Love
Mala


Report Offensive Message For Removal

Response Number 1
Name: Chi Happens
Date: September 13, 2003 at 12:50:30 Pacific
Subject: Serial Input/Output in VB
Reply: (edit)

Use WinSocks they are very very simple.
The component can be found in the components list.
They have an OnDataArrival events and a SendData method.

Chi Happens


Report Offensive Follow Up For Removal

Response Number 2
Name: mala
Date: September 13, 2003 at 23:30:03 Pacific
Subject: Serial Input/Output in VB
Reply: (edit)

Dear Fried Chi,
Thanx for your quick response. Actually I am developing a software which connects the Computer System with the EPABX. Now we have got a software running with runs in C Language and I want to write a similar program in VB. When we execute the program we send some string like |LS|DAdate|TItime|. The EPABX understands the string and sends an acknowledgement. Then we send the next String and so on. After the System and the EPABX is linked then the System waits for calls in the Serial Port.
So can you help me in developing the above software.

Thanx again for your help

Regards

Mala


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Serial Input/Output in VB

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software