When Windows Explorer opens, my A:\ drive grunts at me. How can I do this in VB? Also, can I do this at any time? Thanks.
Printable View
When Windows Explorer opens, my A:\ drive grunts at me. How can I do this in VB? Also, can I do this at any time? Thanks.
LOL, first off... if your A drive is grunting at you then you have SERIOUS problems. You should probably burn the comp and kill it's soul ;) Actually, this is just the computer reading the A drive. Anytime you go to save to or read from the A drive it will most likely "grunt". The only way I think you could do this in VB is to have your app save something to the A drive or have it try to read a disk in the A drive. Later,
-zer0 flaw
I know what it's doing, I was just kidding :rolleyes: Now, I know there's a way to make it "grunt" out of nowhere because I went to a website one day and it started grunting at me, even though I didn't try to save/open anything.
Try this:
VB Code:
Private Sub Command1_Click() On Error Resume Next Dir "A:\", vbDirectory End Sub
For multiple times, do something like:
VB Code:
Private Sub Command1_Click() On Error Resume Next For i = 0 To 10 Dir "A:\", vbDirectory Next i End Sub