Re: Drive c: cannot be selected right now.
- From: "DanMH" <noreply@xxxxxxxxxxxx>
- Date: Wed, 4 Oct 2006 14:20:30 -0800
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: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
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:
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/
.
- Follow-Ups:
- Re: Drive c: cannot be selected right now.
- From: expvb
- Re: Drive c: cannot be selected right now.
- From: Karl E. Peterson
- Re: Drive c: cannot be selected right now.
- References:
- Drive c: cannot be selected right now.
- From: DanMH
- Re: Drive c: cannot be selected right now.
- From: Karl E. Peterson
- Drive c: cannot be selected right now.
- Prev by Date: Re: color conversion
- Next by Date: Re: Trying to be 'well behaved' under Vista
- Previous by thread: Re: Drive c: cannot be selected right now.
- Next by thread: Re: Drive c: cannot be selected right now.
- Index(es):
Relevant Pages
|