Results 1 to 4 of 4

Thread: Drive Errors In VB4.0

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2000
    Posts
    64
    In vb6, there is a command called "causesvalidation" but in vb4, this is not present.

    I have a drive selection, and when there is no dick in the drive, or it is inaccessable, i get a run-=time error message.

    What code can I enter which will place a message box if the drive is not accessible.

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Apr 2000
    Posts
    64
    Oh, i am using vb4.0 cause i dont have a full version of 6.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Apr 2000
    Posts
    64
    Somebody must know how to do this...

  4. #4
    Junior Member
    Join Date
    Feb 2000
    Posts
    20
    This here can help you one I hope :]

    On Error GoTo none
    File1 = Drive1 'this makes file list show contents
    none:
    MsgBox "Error: No Disk In Drive"
    not all police eat doughnut's and drink coffee.. some of us like milk instead.

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