School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!
You're Browsing As A Guest! Register Now...
Become an Expert!

Join 353,888 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 3,187 people online right now.Registration is fast and FREE... Join Now!



system shut down

system shut down what is code for system shut down by using of VB Rate Topic: -----

#1 pawan kumar prajapati  Icon User is offline

  • New D.I.C Head
  • Pip

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 11-July 09


Dream Kudos: 0

Post icon  Posted 11 July 2009 - 03:09 AM

what is code for system shut down by using of VB
Was This Post Helpful? 0
  • +
  • -


#2 firebolt  Icon User is offline

  • D.I.C Lover
  • Icon

Reputation: 78
  • View blog
  • Posts: 5,561
  • Joined: 20-February 09


Dream Kudos: 1675

Re: system shut down

Posted 11 July 2009 - 04:52 AM

Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Post your code like this: :code:

Thanks.
Was This Post Helpful? 0
  • +
  • -

#3 Nikhil_07n  Icon User is offline

  • Idiot of the year.
  • Icon

Reputation: 15
  • View blog
  • Posts: 2,175
  • Joined: 09-January 09


Dream Kudos: 1200

Re: system shut down

Posted 11 July 2009 - 06:16 AM

Can't/Shouldn't give code to you but can give a hint.
Use combination of VB6 + Batch files

Use google, try something and come back.. you'll feel better.
Was This Post Helpful? 0
  • +
  • -

#4 firebolt  Icon User is offline

  • D.I.C Lover
  • Icon

Reputation: 78
  • View blog
  • Posts: 5,561
  • Joined: 20-February 09


Dream Kudos: 1675

Re: system shut down

Posted 11 July 2009 - 11:03 PM

Have a look here:
http://www.dreaminco...e/snippet90.htm
Was This Post Helpful? 0
  • +
  • -

#5 born2c0de  Icon User is offline

  • printf("I'm a %XR",195936478);
  • Icon

Reputation: 110
  • View blog
  • Posts: 4,568
  • Joined: 26-November 04


Dream Kudos: 2825

Expert In: J2ME, 80x86 Assembly, C/C++, VB6, VB.NET, C#, J2SE, Win32 API, Reversing

Re: system shut down

Posted 12 July 2009 - 08:22 AM

Quote

Use combination of VB6 + Batch files

The Batch File method includes calling the shutdown command which internally calls the Windows API.
Hence, it's better to call the shutdown API function from the application itself.
Was This Post Helpful? 0
  • +
  • -



Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month