473,320 Members | 1,846 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Help with Visual Basic code for RS-232 circuit needed!

Can someone please help me out with the Visual Basic source code needed that allows configuration and usage of comm ports in any PC?

I am constructing an asynchronous serial communication RS-232 circuit which will include serial cables (transmitter and receiver) connected from one pc to another pc with a 9-pin null modem in between. The VB program will be used to input the data and the output will appear on the remote PC.

I need help in constructing the code for a simple program. Nothing fancy. I have been attempting to modify a much more complex program I located in a book but I'm getting absolutely nowhere fast.

Help rescue me, please!

Thank you so much!!

Krew \o/
Dec 6 '06 #1
4 2950
sashi
1,754 Expert 1GB
Can someone please help me out with the Visual Basic source code needed that allows configuration and usage of comm ports in any PC?

I am constructing an asynchronous serial communication RS-232 circuit which will include serial cables (transmitter and receiver) connected from one pc to another pc with a 9-pin null modem in between. The VB program will be used to input the data and the output will appear on the remote PC.

I need help in constructing the code for a simple program. Nothing fancy. I have been attempting to modify a much more complex program I located in a book but I'm getting absolutely nowhere fast.

Help rescue me, please!

Thank you so much!!

Krew \o/
Hi there,

Kindly refer to below attached link for further reading & understanding, hope it helps. The article should be able to give you a rough idea on vb6 & serial port communication. Good luck & Take care.

Serial port (COM) communication
Dec 7 '06 #2
Hi there,

Kindly refer to below attached link for further reading & understanding, hope it helps. The article should be able to give you a rough idea on vb6 & serial port communication. Good luck & Take care.

Serial port (COM) communication
Hi Sashi,

Thank you! Thank you! Thank you very much for providing the link to the Bitwise Magazine site. I believe the article will be extremely helpful to me in my project. You are a scholar and a high-class gentleman! :)

Thanks so much!

Krew \o/
Dec 7 '06 #3
Hi Oerryschon,

I also need do transmitter and receiver using serial communication RS-232 connected from one pc to another pc with a 9-pin null modem in between. The VB program will be used to input the data and the output will appear on the remote PC. The idea is similar with you project.

I no idea to starting. So can you post all the code to give me reference.

Thanks for you help...
Jul 4 '07 #4
Hi Oerryschon,

I also need do transmitter and receiver using serial communication RS-232 connected from one pc to another pc with a 9-pin null modem in between. The VB program will be used to input the data and the output will appear on the remote PC. The idea is similar with you project.

I no idea to starting. So can you post all the code to give me reference.

Thanks for you help...
Sorry, Perryschon. Type write name.
Jul 4 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: J P Singh | last post by:
Hi All I am not an ASP expert but some kind soul gave me this code to create a visual display for the dates stored in a table. It works fine except I now want to modify it to have the Name and...
0
by: Lorenzo | last post by:
I had to transfer an ASP Web Application (developed by another person) to a different web server. It seems to work but not completely. I have some problems with authentication: it is based on a...
0
by: Jim S. | last post by:
I'm having a horrible time simply inserting the date in a MySQL database through a Visual Basic program. I have a table, called "ORDERS"; "ID" is the primary key. I'm trying the insert the date,...
8
by: Brian | last post by:
I have a vb.net application which runs fine when installed locally on a user machine but when the application is run from a network drive a security exception error occurs. I've set the intranet...
12
by: John | last post by:
I can't get my head around this! I have the following code: <% .... Code for connection to the database ... .... Code for retrieving recordset ... If Not rs.EOF Then ... Do something...
5
by: technocraze | last post by:
Hi guys, i tried using the AddRecord command (Record operation - Add New Record) provided by MS Acess but the new record is not been appended to the table but instead it has been overwritten. ...
0
by: Killer42 | last post by:
Originally posted by sashi BLOB - Save image to database Dim CN As New ADODB.Connection Dim RS As ADODB.Recordset Dim DataFile As Integer, Fl As Long, Chunks As Integer Dim Fragment As...
0
by: Richie01 | last post by:
Ok, here i have the code for the form...but whenever i click update, delete or search all it does is close the form and nothing is done to the database. Could someone be kind enough to help me out...
2
by: jayantim | last post by:
Hi ! I want to know the connection code for connecting visual basic and microsoft access. plese give the detail code for this connection. Actually I tried one code which is as follows: Dim cn...
1
by: kshtjj | last post by:
Dim db As Database Dim rs As Recordset Dim WS As Workspace Dim Max As Long Private Sub Form_Load() Set WS = DBEngine.Workspaces(0) DbFile = (App.Path & "\Database\AddressBook.mdb") ...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.