Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Serial port accessing using Visual Basic 6

Status
Not open for further replies.

delimav

Newbie level 2
Joined
Feb 12, 2005
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
16
Does anyone knows how to access serial port using VB6? i need it on my automation project

thanks
 

NguyenHai

Member level 1
Joined
Jan 18, 2003
Messages
37
Helped
4
Reputation
8
Reaction score
2
Trophy points
1,288
Activity points
519
Hi,
You can use function OnCom() and see example in MSDN.
best regard.
 

Nick C.

Full Member level 5
Joined
Dec 19, 2002
Messages
281
Helped
33
Reputation
66
Reaction score
25
Trophy points
1,308
Activity points
2,209
delimav said:
Does anyone knows how to access serial port using VB6? i need it on my automation project

thanks

It is simple to do using the MSComm control. The only drawback
is that it only works with the professional/enterprise editions
of Visual Basic.

There is a freeware alternative to MSComm here:

https://ourworld.compuserve.com/homepages/richard_grier/xmcomm.htm

If you will be working with the serial port, I highly recommend
the book Serial Port Complete by Jan Axelson. Money well spent.

Good luck with your project.

Nick
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top