Results 1 to 4 of 4

Thread: A:\ drive, make it go errrnnhh?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2001
    Posts
    421

    Question A:\ drive, make it go errrnnhh?

    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.
    [vbcode]
    ' comment
    Rem remark
    [/vbcode]

  2. #2
    Hyperactive Member zer0_flaw's Avatar
    Join Date
    Apr 2001
    Posts
    448
    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

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2001
    Posts
    421
    I know what it's doing, I was just kidding 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.
    [vbcode]
    ' comment
    Rem remark
    [/vbcode]

  4. #4
    Matthew Gates
    Guest
    Try this:


    VB Code:
    1. Private Sub Command1_Click()
    2.     On Error Resume Next
    3.     Dir "A:\", vbDirectory
    4. End Sub


    For multiple times, do something like:


    VB Code:
    1. Private Sub Command1_Click()
    2.     On Error Resume Next
    3.     For i = 0 To 10
    4.         Dir "A:\", vbDirectory
    5.     Next i
    6. End Sub

Posting Permissions

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



Click Here to Expand Forum to Full Width