Searching \ for '[OT]: Visual Basic and Port Control' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/ios.htm?key=port
Search entire site for: 'Visual Basic and Port Control'.

Exact match. Not showing close matches.
PICList Thread
'[OT]: Visual Basic and Port Control'
2002\07\26@113702 by Tim McDonough

flavicon
face
I just finished a project where I needed to provide a Windows based
utility that would in-circuit program the EEProm in a non-PIC device. I
wrote the PC application using VB6 and an IO Active X control from JS
Payne (http://www.jspayne.com). The IO control gives you all sorts of
individual control of the serial and parallel port lines and is quite
well documented.

This was a fast turn project and there wasn't a great amount of time
for research. I'm curious what other solutions people have used to be
able to manipulate the individual lines on COM and Printer ports under
Windows?

Tim

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2002\07\26@130429 by rsillem

picon face
MSCOMM is an Active X control that allows you to send and receive data via a
PC's serial port. It comes with VB6 Enterprise and Professional. If you have
the Learning edition a MSCOMM clone is availed for download free of charge
at http://ourworld.compuserve.com/homepages/richard_grier/xmcomm.htm

       I have played around with WIN95IO.DLL which is also free. Info on using it
to control a parallel port is available at
http://www.aaroncake.net/electronics/vblpt.htm

I know there are many others, but these are the only ones I am familiar
with.

Hope this helps!

{Original Message removed}

2002\07\26@134817 by Tim McDonough

flavicon
face
On Fri, 26 Jul 2002 12:00:13 -0500, Richard Mellina wrote:
>MSCOMM is an Active X control that allows you to send and receive
>data via a PC's serial port. It comes with VB6 Enterprise and
>Professional. If you have the Learning edition a MSCOMM clone is
>availed for download free of charge at
>http://ourworld.compuserve.com/homepages/richard_grier/xmcomm.htm

I have the Enterprise edition. The MSCOMM control does not allow you to
manipulate or test the individual port lines. In my application I
programmed lines to control the programming mode as well as provide
clock and data signals for the programming protocol.

>I have played around with WIN95IO.DLL which is also free. Info on
>using it to control a parallel port is available at
>http://www.aaroncake.net/electronics/vblpt.htm

I'll give that one a look but now that I've bought the other and it
does both port types it may be harder to change!

Thanks for the pointers,

Tim

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2002\07\26@162109 by Michael Rigby-Jones

flavicon
face
{Quote hidden}

I use DLPORTIO library from Scientific Software, available as a free
download from www.driverlinx.com/DownLoad/DlPortIO.htm
Works under Win95, 98, and 2000 to my knowledge, and most likely under ME
and XP as well.

Regards

Mike

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2002\07\26@162549 by Michael Rigby-Jones

flavicon
face
{Quote hidden}

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2002\07\26@164831 by M. Adam Davis

flavicon
face
The MSCOMM control does allow individual control of the discrete serial
port signals (CTS, RTS, DTR, etc - only outgoing, of course).

I know it works - when I needed to listen in on communications between a
computer and another device I used two serial ports on a seperate system
running a VB program.  It detected and shuttled not only byte
information but also the status pins toggling - the device I was using
didn't run without proper use of these signals.  You need to tell the
control that the communication should have no flow control (as opposed
to hardware or xon/xoff) so it doesn't automatically toggle them for you.

I probably still have the program and source around here somewhere.
Never did get it on my website.

-Adam

Tim McDonough wrote:

{Quote hidden}

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2002\07\26@205303 by Tim McDonough

flavicon
face
On Fri, 26 Jul 2002 16:47:57 -0400, M. Adam Davis wrote:
>The MSCOMM control does allow individual control of the discrete
>serial port signals (CTS, RTS, DTR, etc - only outgoing, of course).
>
>I know it works - when I needed to listen in on communications
>between a computer and another device I used two serial ports on a
>seperate system running a VB program.  It detected and shuttled not
>only byte information but also the status pins toggling - the device
>I was using didn't run without proper use of these signals.  You
>need to tell the control that the communication should have no flow
>control (as opposed to hardware or xon/xoff) so it doesn't
>automatically toggle them for you.
>
>I probably still have the program and source around here somewhere.
>Never did get it on my website.

If you run across it I wouldn't mind taking a look. I didn't have any
luck with MSCOMM when I was starting the project.

Tim

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2002\07\26@231554 by M. Adam Davis

flavicon
face
The only time I had real problems with the mscomm control was when I was
porting an app toa japanese version of windows 98 where the double byte
character system ruled (not even unicode - yech!) and it wasn't a
problem with mscomm, just with the string handling routines I was using
(lesson - don't treat binary data as strings - may be convenient, but
will byte you later ;-)).

But I've heard others have headaches with it.  My boss at a previous job
disliked it so much he used a third party tool.

I'll take a peek around sometime for the old code - should be
entertaining to read if nothing else.  Probably not more than a dozen
lines or so.

-Adam

Tim McDonough wrote:

{Quote hidden}

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2002\07\27@063909 by Michael Rigby-Jones

flavicon
face
{Quote hidden}

I use DLPORTIO library from Scientific Software, available as a free
download from www.driverlinx.com/DownLoad/DlPortIO.htm
Works under Win95, 98, and 2000 to my knowledge, and most likely under ME
and XP as well.

Regards

Mike

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


More... (looser matching)
- Last day of these posts
- In 2002 , 2003 only
- Today
- New search...