After some time, i try to connect a relay with a BJT to the serial port, i used again the program, using Windows7 but now it works only without the on off arguments:
C:\Prove\publish>serial_ringer.exe on=3000 off=3000 baud=9600 port=com9
Eccezione non gestita: System.FormatException: Formato della stringa di input non corretto.
in System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
in System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
in System.Convert.ToInt32(String value)
in Serial_Ringer.Program.Main(String[] args)
If i run it without the options on=3000 off=3000, it works fine.