Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error message when using GetDir

Status
Not open for further replies.

GriffMG

Programmer
Mar 4, 2002
6,334
FR
I've only just noticed this, it might have been happening for a while - just today!

When I use GetDir from my applications I sometimes get this message:

Code:
There is no disk. Please insert a disk into drive \Drive\Harddisk2\DR4



Regards

Griff
Keep [Smile]ing
 
If you pass no arguments to GetDir() then it starts by looking in the current default directory and it might be that you're losing your connection to \Drive\Harddisk2\DR4.

Having said that, I've just changed my current directory to my CD drive and checked that GetDir() starts off by displaying the contents of the CD. Then I removed the CD and tried GetDir() again - expecting to see your error message. Instead there was a bit of a delay and the GetDir dialog eventually appeared showing the contents of drive c:\ instead. I wasn't expecting that at all. If anyone had asked I'd have thought that Fox would have defaulted to Home() rather than c:\.

Sorry - that's of no help to you at all.

Geoff Franklin
 
Hi Geoff,

Yes, I'm pretty sure my system USED to do that - throw up a 'default' folder that actually existed, rather than what seems to be a low level error.

I'd never seen a reference like \Drive\Harddisk2\DR4 before either.

I guess I must have installed/uninstalled something in the OS that is causing this.

B-(

Regards

Griff
Keep [Smile]ing
 
Even spookier, it's stopped doing it now!

Overheating processor?

Regards

Griff
Keep [Smile]ing
 
virus check?
don't we all hate then computer starts behave by itself? %)
 
No signs (other signs) of virus activity, AVG all up to date as well, working behind h/w and s/w firewalls.

%)

Regards

Griff
Keep [Smile]ing
 
No, that was the actual message, in an 'always on top' windows (not VFP) message box!

Not doing it now though.

B-)

Regards

Griff
Keep [Smile]ing
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top