Is there a way to trigger events in vb just by pressing a simple button
connected to usb or serial port?
Siteslayer
It should be possible on a serial port. Wire DTR through the switch to DSR. Use the SerialPort class and implement the PinChanged event handler. You need something commercial to do it with USB.