Discussion:
Visual Basic Serial Port Communication
(too old to reply)
Ben Cook
2003-08-19 19:46:08 UTC
Permalink
Ladies & Gents,

I have a application where I need to send messages to a device via a serial
port. My PC is currently running Windows XP, and I would like to include a
GUI. I'm therefore thinking of using VB.

My question is what do I need?, and
How do I do it?
Can someone direct me to an example online, or a book or something?
Which version of VB do I need?
Can I make it work with XP? - Do I need to install any special drivers?

Thanks in advance.

Ben Cook.
the Wiz
2003-08-20 03:26:39 UTC
Permalink
Almost any version of VB (NOT .net) can handle serial communications using the
built-in MsComm control. Vb comes with an example serial program.
Post by Ben Cook
Ladies & Gents,
I have a application where I need to send messages to a device via a serial
port. My PC is currently running Windows XP, and I would like to include a
GUI. I'm therefore thinking of using VB.
My question is what do I need?, and
How do I do it?
Can someone direct me to an example online, or a book or something?
Which version of VB do I need?
Can I make it work with XP? - Do I need to install any special drivers?
Thanks in advance.
Ben Cook.
More about me: http://thelabwiz.home.mindspring.com/
VB3 source code: http://thelabwiz.home.mindspring.com/vbsource.html
VB6 source code: http://thelabwiz.home.mindspring.com/vb6source.html
VB6 - MySQL how to: http://thelabwiz.home.mindspring.com/mysql.html
My newest language - NSBasic for the Palm PDA: http://thelabwiz.home.mindspring.com/nsbsource.html
Drivers for Pablo graphics tablet and JamCam cameras: http://home.earthlink.net/~mwbt/
johnecarter atat mindspring dotdot com. Fix the obvious to reply by email.
Loading...