Jump to content

[VB.NET 2005] - Shut Down PC


AKueda

Recommended Posts

Boas pessoal...  😁

eu estou a fazer um pacote de programas k eu fiz de cenas uteis... mas gostava de fazer um programa k ao entrar no programa definia-mos uma hora para k quando o programa detecta-se k ja era a hora k o utilizador marcou ele fazia encerrar o pc automaticamente...

alguem sabe alguma instrução para desligar o pc em VB.net 2005...  ?

Link to comment
Share on other sites

Ha uns tempos fiz um programa que fazia isso e disponibilizei o source code. É muito simples.

Podes ve-lo aqui...

LINK

Tens la o source code, é so sacares.

Atençao que isso tem alguns bugs, mas eu na altura tambem fiz isso mais como forma de tutorial e para eu mesmo aprender 😁

Espero que ajude

Cumps

"Rejoice not against me, O mine enemy: when I fall, I shall arise; when I sit in darkness, the LORD shall be a light unto me." - Micah 7:8 (KJV)

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
×
×
  • 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.