+ Reply to Thread
Results 1 to 3 of 3

Thread: Creating shutdown timer in Visual Studio 2008

  1. #1
    SmithJohnson is offline Senior Member
    Join Date
    Dec 2009
    Posts
    364
    Rep Power
    3

    Default Creating shutdown timer in Visual Studio 2008

    I am attempting to make shutdown timer and many things but not getting preferred results. I have GUI there and all I do not know how to place it together. I am using Visual Studio 2008. So do I want to use Combo Box to delay shutdown.exe? Does anybody show me how to do it? Help me to solve this problem.

  2. #2
    Brownchris is offline Senior Member
    Join Date
    Dec 2009
    Posts
    331
    Rep Power
    3

    Default

    1) I know how to do it in VB. There is Shell () function used for it. To shut down in 60 seconds, then make use code given below :

    Shell (“shutdown /s /t 60”)

  3. #3
    Millerjames is offline Senior Member
    Join Date
    Dec 2009
    Posts
    331
    Rep Power
    3

    Default

    2) For this code in VB.Net is given below:

    System.Threading.Thread.Sleep (milliseconds)

+ Reply to Thread

Similar Threads

  1. Visual Studio 2010 and. NET 4.0 is here
    By calista in forum Latest Hardware News
    Replies: 0
    Last Post: 04-13-2010, 07:25 AM
  2. Visual Studio 2010 RC available
    By annet56 in forum Latest Hardware News
    Replies: 0
    Last Post: 02-12-2010, 08:05 AM
  3. Visual Basic 2008 Express
    By WilsonMartin in forum Operating System
    Replies: 2
    Last Post: 01-29-2010, 06:15 PM
  4. Visual studio 2008 error to afxdisp.h file
    By PetersonClark in forum General Internet Terms
    Replies: 1
    Last Post: 01-29-2010, 05:07 PM
  5. Shutdown Timer 1.00
    By Domenic Smith in forum Download Tools and Softwares
    Replies: 0
    Last Post: 09-11-2009, 10:59 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48