Thanks,
Tom Edelbrok
hi Tom,
The answer is yes, but...
Your best bet is to use microsoft's comm control, i.e.,
MSCOMM32.OCX. However, you will have had to have purchased
a copy of "classic" vb (vb5/6) to have this control installed.
You can probably find a "free download" for this control, but
it is a licensed control, which means you may have troubles
using it if ms doesn't find the proper licensing info in your
registry.
There are other controls available (for a small fee), which
will do the same thing as the ms control.
If you are not looking to do anything too sophisticated,
then you can use fso. If you create a text file named:
"COM1:" then you can read from or write to it. You can
find some examples of that by searching the archives of
this ng. I would have suggested google advanced group
search -- but that doesn't seem to work very well lately.
You might do better with google's normal search. Also,
take a look at this page:
http://www.eggheadcafe.com/forumarchives/scriptingVisualBasicscript/Jul2005/post23377405.asp
Also, if you have an old win98 system (stored in your
cellar or garage) then you might be able to use the old
ms utility called "HyperTerminal". The main purpose of
this utility was to log you on to a dialup service, but
it may be possible to use it in a more general way...
cheers, jw
____________________________________________________________
You got questions? WE GOT ANSWERS!!! ..(but, no guarantee
the answers will be applicable to the questions)
> Also, if you have an old win98 system (stored in your
> cellar or garage) then you might be able to use the old
> ms utility called "HyperTerminal". The main purpose of
> this utility was to log you on to a dialup service, but
> it may be possible to use it in a more general way...
HyperTerminal is available on all MS OSs up until Win7. It can be
used without a dial-up. I've often used it in my work to communicate
with serial devices. It is reported to be available for download at
third party locations. However, there are other 'free' serial comms
programs. One was called Tera Term that I used that was also
scriptable, but I don't know if it is still available out there.
_____________________
Tom Lavedas