How can I turn on my computer and immediately execute my program using C#?
<p>well i am developing a simple program (for me) it is for a note notes, you put a day and a time to your note, when it was the time and day, it appears a ballontip,<br>
i have a problem here to, any time i put to this ballontip, it ever get to be only 5 seconds</p>

<pre><code>DateTime hora; // hora == time
DataTable tabla = daonota.seleccionaraahora();  //chose now =seleccionar ahora 
if (tabla.Rows.Count == 1)
{

    hora = Convert.ToDateTime( tabla.Rows[0][4].ToString());
    string titulo = tabla.Rows[0][1].ToString();  
    String texto = tabla.Rows[0][2].ToString();  
    texto=texto+"\Date programmed="+tabla.Rows[0][3].ToString(); 
    texto = texto + "\nTime programmed=" + tabla.Rows[0][4].ToString();
    notifyIcon1.ShowBalloonTip(10000, titulo, texto, ToolTipIcon.Info);

} 
</code></pre>

<p>i have this code in a timer (timer1) it do a query every secund, do you know any form better for to do it (goal is it appears a ballon tip in the time put)</p>

<p>well i want to to ... if the computer is turn off, it turn on, any code for to do it since c#? and another thing... how do i do, my program is execute since the computer turn on, automatically?</p>
