473,322 Members | 1,347 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Error 71-Disk not ready ...Please help

Hi everyone

I'm getting an error "Disk not ready ". related to scrrun.dll

I get this error when i try to access the pen drive through a VB 6.0 application.
I'm using File System Object to access the drive.

The code is as follows:

Set fso = CreateObject("Scripting.FileSystemObject")
For Each drv In fso.Drives
With drv
strDriverType = .FileSystem
End With
Next
Msgbox strDriverType

Error 71 is generated when the application tries to get the ".Filesystem"

Thank you
Aug 18 '08 #1
2 3841
leoce7
8
Is it just the .FileSystem property that doesn't work? What about .DriveType or .ShareName? If the drive isn't ready yet you could code in a delay possibly before you try to retrieve drive attributes using the Sleep feature or timer.
Aug 20 '08 #2
QVeen72
1,445 Expert 1GB
Hi,

Yes, you will get that error, thats because, First Drive is "A"
and accessing any properties of "A" (Floppy drive) without Floppy in it results in error..

Regards
Veena
Aug 23 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Lorenz Köhl | last post by:
hi, I've python 2.3 and apache 2.0.47 installed on my SuSE8.2. when trying to compile modpython into apache, make stops with the error ---- In file included from...
4
by: ja ba | last post by:
i'm trying to load a html page into a div. it works, but won't validate! here's the feedback: Below are the results of attempting to parse this document with an SGML parser. Line 71 , column...
4
by: Gary Davis | last post by:
Once a day or so, I receive an error on a fairly active website that calls this StrMixed.cs method constructor. 99% of the time there is no exception: System.Web.HttpUnhandledException:...
4
by: ron | last post by:
Hi, I have class object that i serialize using the System.Xml.Serialization class. Intermittently the object is not getting serialized correctly, using System.Xml.Serialization classes....
0
by: Tim Sharrock | last post by:
We have hit an internal compiler error when processing a very long array initialiser (for a lookup table). Most of the compiler versions we tried compiled the code successfully, but very slowly...
3
by: Yahooooooooo | last post by:
Hi, whats the issue in below code ... #include <iostream> #include <fstream> #include <sstream> #include <string> #include <iterator> #include <boost/regex.hpp>
2
by: juan-manuel.behrendt | last post by:
Hello together, I wrote a script for the engineering software abaqus/CAE. It worked well until I implemented a selection in order to variate the variable "lGwU" through an if elif, else...
5
by: diviya | last post by:
sir/mam, am diviya working in embedded system s, am trying to create a sample application program in c for my fpga processor,will u plz clarify the error for my project , i here by attach my c...
7
by: imtmub | last post by:
I have a page, Head tag Contains many Scripts and style sheet for Menu and Page. This code working fine and displaying menus and page as i wanted. Check this page for reference....
0
by: Alexis Boutillier | last post by:
Timothy Grant a écrit : As you can see in my last response, this problem is not linked to the type of error, If I "raise" a SystemError instead of creating a SyntaxError I still can't access...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.