I added to my existing x10 monitor test program so you can see all the different items and how they work
Like how buttons, labels, timers, notify icons, tool strips, etc
I added a notify icon that sends the program to the tray. You click on the tray icon to bring back the window
I added a tool bar
A1 and A4 will go on for 20 seconds when you click the button.
I don't know if I would use A1 if I were you, unless you want all lights on.
If you want some other code change A1 to whatever
I left the G16 on/off/query section just cause it's useful to see how that works.
The textx10.zip file is located here
http://www.el34world.com/Misc/home/Files/testx10.zipunzip the attachment and open the
testx10.sln file in VB 2008 express