473,769 Members | 1,723 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

6 New Member
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 2970
sashi
1,754 Recognized Expert Top Contributor
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
perryschon
6 New Member
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
koh soo min
4 New Member
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
koh soo min
4 New Member
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
2238
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 department of the users displayed and not display the user id field. The field names in the table are FirstName
0
2131
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 username and a password stored in a SQL Server's table. These data are requested via basic authentication (not a IIS level but I think it is used to create the authentication window in which put username and password). The problem is that it...
0
5357
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, into the MySQL database, which is a DATETIME datatype. I must keep it DATETIME so it can be accessed via Microsoft Access. Here are two versions of the program. The first one fails, with the "Row cannot be located for updating. Some values may...
8
3348
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 zone through the .Net Configuration wizard to Full Trust and the app still has a security exception. I've turned on Just in Time Debugging and noticed the security exception is happening at that below line of code. Dim rs As New...
12
20703
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
4394
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. I have set the focus for the field under the acNewRec already. By right i shld be able to append the record at the end of the record of the field and nt overwritting the record. What i want to achieve is to be able to select the value from the...
0
1125
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 Integer, Chunk() As Byte, i As Integer, FileName As String
0
2240
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 here... import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.sql.*; import java.net.*; import java.util.*; public class EmpForm extends JFrame
2
1605
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 as connection Dim rs as recordset Private Sub form() set cn = new connection set rs = new recordset
1
2808
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") PwdString = "swordfish"
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10211
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10045
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9994
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8870
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7408
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3561
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.