I'm using interface with relay and interface is connected to computer on COM (serial) 9 pins port. In Visual Studio 2005 I'm using this code:

Code:
SerialPort1.Open
SerialPort1.DtrEnable = True
SerialPort1.Breakstate = True
This is code for turning on interface, and that's OK, BUT when I turn off my computer and restart it interface is turn on and turn off a few times, and when computer stop loading Windows XP everything is OK. Please, help me. Thanks!