|
-
Dec 27th, 1999, 08:52 PM
#1
Thread Starter
New Member
I Need to have a code to get the hard drive sleep.
-
Dec 27th, 1999, 09:20 PM
#2
Lively Member
This code will put your program to sleep for 3 seconds.
Code:
Option Explicit
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Private Sub Form_Load()
Sleep 3000
End Sub
To adjust the amount of sleeping time, just change the 3000 to whatever you want (# of seconds to sleep * 1000).
All the best.
Chris
------------------
CJ
-
Dec 27th, 1999, 11:46 PM
#3
Guru
Does anyone have API code to initiate the power down mode for the HDD (like the power management in Win9x)?
Thanks
Tom
-
Dec 28th, 1999, 05:20 AM
#4
Thread Starter
New Member
Does anyone have code to initiate the power down mode for the HDD (like the power management in Win9x)?
I wounder to?
-
Dec 28th, 1999, 06:26 AM
#5
Junior Member
now why would you possibly want to know how to this... i can only see evil things.
-
Dec 29th, 1999, 04:05 AM
#6
Thread Starter
New Member
I am going to make a screensaver like program.
-
Jul 19th, 2008, 03:32 PM
#7
Addicted Member
Re: Hard Drive Sleep ???!!
now why would you possibly want to know how to this... i can only see evil things.
that could just be a case of near sightedness on your part
Im building a PVR with multiple disks, the OS is on a 10Gb flash drive, and there are also 3 1Tb disks for data. I am looking for a way to spin down the hard drives that are not in use. Why have disks 2 and 3 running if your only accessing a movie on disk 1?
Wouldnt spinning down / putting to sleep the disks that are not being used reduce noise...heat....and increase the lifespan of the disks?
Is this even possible?
Jon_G
AKA Phil From Marketing
**************************************
Insert Something Memorable And Witty Here.
**************************************
-
Jul 19th, 2008, 06:25 PM
#8
Fanatic Member
Re: Hard Drive Sleep ???!!
lol he could do this to cut the power of the computer? maybe play "nice" with people ("nice") lol
-
Jul 19th, 2008, 09:54 PM
#9
Re: Hard Drive Sleep ???!!
Jon G, you are almost 9 years late.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|