From: Martin on
Hello

I have a large barcode gun monitoring application which is currently in
Clipper and XBase++ same source and yes it is a GUI application.

However I want to move to VO*, and will need to monitor the com ports.

How easy is this to do?

Thanks

Martin

* Getting issues on 64bit machines with XBase++


From: Ginny Caughey on
Accessing COM ports is very easy from VO, and there are really 2 ways to go
about it.

1. Use my Serial class, which is available for download someplace. Email me
if you can't find it.
2. Use the .NET SerialPort class exposed as functions in a COM-visible .NET
library, which you call via COM from VO. How to paper is here:
http://www.elbe-data.se/sv/vografx/visualobjectsandcsharp.pdf and docs on
SerialPort class is here:
http://msdn.microsoft.com/en-us/library/system.io.ports.serialport.aspx

Although method 2 is more involved, I think everybody who is still doing VO
work should learn that approach because that will often be the answer for
the next question you'll have.

--

Ginny Caughey
www.wasteworks.com




From: Jack Konings on
Hi Martin,

Like Ginny said, using comports in VO is relatively easy. There are 2 (pure)
VO-classes available as far as I know.
There is the one Ginny wrote. This one was part of the VO25Lib. VO25Lib can
be found on Paul Piko's website (piko.com.au). I don't know if Ginny has a
more recent one (like VO2.8 version with no warnings) .
The other one (fabserial28) is written by Fabrice and can be found on his
website (Fabtoys.net).

I did choose Ginny's one for no real reason beside it was part of the
VO25Lib which I was already using.


Greatings,

Jack



"Martin" <spam(a)spam.spam> wrote in message
news:UFBEn.41650$6A5.13326(a)newsfe21.ams2...
> Hello
>
> I have a large barcode gun monitoring application which is currently in
> Clipper and XBase++ same source and yes it is a GUI application.
>
> However I want to move to VO*, and will need to monitor the com ports.
>
> How easy is this to do?
>
> Thanks
>
> Martin
>
> * Getting issues on 64bit machines with XBase++
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 5094 (20100507) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
From: Ginny Caughey on
I haven't needed to change the Serial class for years, so probably Paul's
version is current.

--

Ginny Caughey
www.wasteworks.com