Re: Serial Port in VBScript

Re: Serial Port in VBScript

Below is a simple way to write bytes to the com port using VBscript. VBcript operates somewhat like a batch file in that the comport is opened, the bytes are sent, and the port is closed. You generally can't receive bytes from the port using VBscript. Methods using MSCOMMLib would require it to be registered somewhere on the computer, usually by VB or similar.