WinLIRC iconWinLIRCWinLIRC icon

Using the Visual Basic ActiveX control (plug-in)

Assaf Rozenblatt writes:


Click Project/Components

When the Components window appears, click Browse and find the
Infrared.ocx file. Click OK to select the file.

A new tool should now appear in the tool list (it says IR on it). Double-click
it to add it to your form.

The ActiveX has two methods, OpenIR and CloseIR. The OpenIR method will open a
connection to the WinLirc server on the IP address specified by the IP
property (default, but can be changed to anything you like)

The ActiveX has two events, Error and DataReceived. The Error event will
notify the developer if the connection was suddenly terminated or closed. The
DataReceived event will fire every time WinLirc sends a new message.

Copyright (C) 2002 Jim Paris <>.
Last update: Thursday, June 13, 2013 at 08:28 PM
Hits (since May 21,2001):