Bookmark Topic Watch Topic
  • New Topic

problem in Shutdown a computer

 
koushik maiti
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Report post to moderator
hai all,
first i am sorry for posting a vb code here...because i have nothing to do to solve this problem...

When i am executing this program...the computer is not shut down...
the specification of my computer is ...

Microsoft windows2000...Service Pack 4..
etc..

the vb code is given below.....

********************************************
Private function shutdown()
shell "rundll krnl386.exe,exitkernel"
End Function
*********************************************
but this code is not working..plz send me the solutions..i am waiting for ur answers..
bye,
koushik maitit
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15481
43
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
You already posted this here a few days ago.
Why are you posting it again?

This forum is about Java, not about Visual Basic and Windows programming.

Ask your question on a Visual Basic forum.
For example here: http://www.codeguru.com/forum/
 
    Bookmark Topic Watch Topic
  • New Topic