Results 1 to 4 of 4
  1. #1
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    controll read write error on floppy disk... (2000 sr 1)

    Great brother, you have maked form me (tks!) the controll on isertion or not correct disk into this macro...
    But is possoble to controll before all operation if a disk are read write error and stop the macro with a ms box "attention disk ureadable? insert anothaer!"

    Make this condition befaore alla line of the macro...

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: controll read write error on floppy disk... (2000 sr 1)

    As far as I can see, the code tries to find a file on the A: drive, and quits if it is not present. If the diskette can't be read, the file can't be found, so the code already seems to do what you want. What exactly do you want to accomplish?

  3. #3
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: controll read write error on floppy disk... (2000 sr 1)

    hummmmm... My problem:

    If the disk is readable the macro go in error and i unlock the macro only to force the stop the code manually.
    After the code is stopped into the specified dir is created a file with dimension zero.?!?!? named GOTFI200

    And i cannot delete into dir, the system tell: FILE IN USE NOT IS POSSIBLE TO DELETE ecc...."
    This, only if the disk is unreadable....
    Attached is my last code. (modified from the old attached in this post)

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: controll read write error on floppy disk... (2000 sr 1)

    I'm sorry, I don't understand "If the disk is readable the macro go in error". Do you mean to say "If the disk is read-only ..."?

    And what do you mean by "I unlock the macro"?

Posting Permissions

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