How do I access the Serial Port using WSH? - TechRepublic
Question
December 16, 2010 at 09:44 AM
tink!

How do I access the Serial Port using WSH?

by tink! . Updated 15 years, 6 months ago

New to writing WSH scripts. Trying to write one that will read the data coming in through the Serial Port (COM1) and either create a text file (and append with each new string of data) or send that data to an Access DB.

What object, method or property do I use to do this?

EDIT ADD: Am finding out that the script language is probably pretty archaic. I do not have Visual Studio so I am getting compile errors when trying to run scripts written for Visual Basic or VB.Net. Therefore, I need this script to be strictly in WSH commands, VBScript 5.7 or in VBA (to insert in Access Module).

This discussion is locked

All Comments