Guest Posted October 17, 2006 at 10:25 AM Report Share #58017 Posted October 17, 2006 at 10:25 AM eu queria saber com terminar o programa a hora X X é dado pelo utilizador eu pensei assim o utilizador dá o valor a x=12:30 quando 12:30 = time faz end é possivél? Link to comment Share on other sites More sharing options...
Miguel_Silva Posted October 17, 2006 at 12:54 PM Report Share #58046 Posted October 17, 2006 at 12:54 PM Sim isso é possivel basta usares um timer control Defenires a Propriedade Interval para 1000( ou seja de segundo a segundo, pois este controlo usa os milisegundos) E depois pores o seguinte código Private Sub Timer1_Timer() If x= Time Then End End If End Sub Atenção o utilizador deve inserir tambem os segundos tipo hh:mm:ss h=horas m=minutos s=segundos O timer é o controlo que tem a forma de um relogio Programar é como construir uma casa! Se for mal feito pode ter de se começar tudo do inicio! Link to comment Share on other sites More sharing options...
Guest Posted October 17, 2006 at 06:18 PM Report Share #58105 Posted October 17, 2006 at 06:18 PM tão ond se insere as horas pretendidas encerar? Link to comment Share on other sites More sharing options...
David Pintassilgo Posted October 17, 2006 at 07:03 PM Report Share #58124 Posted October 17, 2006 at 07:03 PM Na Variavel Time. Metes uma textbox ou qq coisa assim cool stuffs to check. http://blog.zxcoders.com// Link to comment Share on other sites More sharing options...
Guest Posted October 17, 2006 at 07:10 PM Report Share #58130 Posted October 17, 2006 at 07:10 PM já deu obrigado podem encerra o topico Link to comment Share on other sites More sharing options...
angelwars Posted March 8, 2007 at 05:39 PM Report Share #87201 Posted March 8, 2007 at 05:39 PM podes me postar aqui todo o codigo do prog nao estou entender bem.... :S Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now