On Tue, 30 Jun 2009 06:31:31 +0100, p byers <pb@newsgroup-ltd.co.uk>
wrote:
Quote:
>I googled for an answer - found several expensive dlls/exes to download
>!!
>
>Found a Script that looks like it could work.
>
>Dont have MSCommLib
>Anyone got Instructions/Advice about obtaining/installing/regisrtering
>it ??
>(Lots of almost incomprehensible warnings about installation problems
>given in Google !!)
>
>Some help would be most helpful - please - thank you.
>
>Pete(Northolt UK)
>
You can write to the comport like below, but no input from the
port.
Set fs=CreateObject("Scripting.FileSystemObject")
Set a = fs.CreateTextFile("COM1:",True)
a.write chr(255)
a.write chr(1)
a.write chr(127)
a.Close