Message Edited by Ravens Fan on 11-17-2006 12:58 AM
please consider to use the "ActiveX Server" ability of LabVIEW and Executables generated with LabVIEW (aka "VI server"). By doing so you can connect to VIs, their front panels and controls placed on the front panels without adding any code to the LabVIEW application at all!
see the LabVIEW documentation for how to access LabVIEW and LabVIEW executables with ActiveX.
you could assign a key to the button (right click "Advanced"->"Key navigation"). then you could emulate a keyboard stroke with some windows apis to switch the button. search for keyboard stroke emulation on this forum.
There is a LatchValue property, which allows you to write a value to a latched boolean, but it's a private property and might be unstable, so I would avoid using it in any real code. It might not even be exposed through the ActiveX interface for the VI Server, so you might need a VI as a mediator.
If you want to check it out, you can start at the LAVA forums' scripting board.
Another option, similar to Chris's method, is to simulate a mouse click.