Salve
Ho creato due text box, in una compare l'ora con la funzione time e nell'altra che l'ho lasciata vuota vorrei che aggiungendo a mano un'ora di mia scelta si spegnesse il computer. La routine per lo spegimento è la seguente:
Private Sub Text2_Change()
If Text2.Text = Text1.Text Then
Shell "C:\Windows\system32\shutdown.exe -s -t -f 20"
End If
End Sub
Private Sub Timer1_Timer()
Text1.Text = Time
End Sub
Le due textbox non interagiscono, cosa ho sbagliato?