Jump to content

[VB6] Como terminar programa a hora X


Guest
 Share

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.