Re: Drive c: cannot be selected right now.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Karl,

THANK YOU...!!!!

The scenario presented in the link was very similar to our situation.
The link you provided gave me a clue on what to try. We didn't want
to require the user to perform "external" operations to work around
an internal issue.

THE FIX:

Just before the call to open the dialog box, I reset the directory
to our application's directory.

ChDir App.Path

This fixed the problem!!!

For now, this should work most of the time, as our data files reside
in a subdirectory of the application. If this becomes a problem later on,
the procedure will be re-written to handle it, but for now, it works.
The KISS approach.

Thank you again,
Regards,
DanMH


"Karl E. Peterson" <karl@xxxxxxxx> wrote in message news:uK6TsZ$5GHA.1248@xxxxxxxxxxxxxxxxxxxxxxx
DanMH wrote:
Let's go back to some real "classic" vb...

Using VB3 on a Win98 machine, we are now getting the following error:

Drive c: cannot be selected right now.
Try again later.


Does anyone know what might be causing this error?

I have an application that resides on the C: drive, and accesses data
files through the common dialog. If by chance the common dialog is
directed to open on drive D:, if the user tries to go back to the c:
drive, then they are presented with the above error message.

Sounds a lot like the problem discussed here:


http://72.14.253.104/search?q=cache:VEHoXAhM72oJ:www-1.ibm.com/support/docview.wss%3Fuid%3Dsim21c1d6c6be510d9b0852569ec00705c00+%22cannot+be+selected+right+now%22&hl=en&gl=us&ct=clnk&cd=2

I had to send you the GCache link, because it seems the original document
has been removed from IBM's website.
--
Working without a .NET?
http://classicvb.org/



.



Relevant Pages

  • Re: ASCWC 54: Clue BOTHER by Dec. 17
    ... common general use" is an imprecise one. ... The link to to the site was in response to Peter's question about it being used outside Scotland. ... I came across numerous UK references to gear being slang for heroin. ... A while back a user we do not see anymore, "Flying Tortoise" I think, would threaten to bar your clue if you laid out how the clue was made up in your entry. ...
    (rec.puzzles.crosswords)
  • Re: ASCWC 54: Clue BOTHER by Dec. 17
    ... for heroin," though both appear in "commonly used terms on the site." ... different in Scotland, and I understand that the idea of "sufficiently ... common general use" is an imprecise one. ... threaten to bar your clue if you laid out how the clue was made up in your ...
    (rec.puzzles.crosswords)
  • Re: Times are Bad??
    ... sense preparedness. ... common sense preparations will lessen the impact and increase your ... way out of it by stacking bullshit on top of bullshit, ... you makes the leap to a Mad Max scenario, ...
    (rec.martial-arts)
  • Re: Malfunction
    ... Most commonly the problem is a user who does not have a clue about how to ... These folks have a lot in common with those that post for answers to their ...
    (alt.tv.tech.hdtv)
  • Re: Where is Times 23113 - discusses 23112 - answers NOT disguised.
    ... Often just stepping on tail of butterfly ... If you interpret 'tail of butterfly' as LY, ... that leaves COMMON, which is OK based on an obsolete ... if you think a clue is unfair, ...
    (rec.puzzles.crosswords)