Mike Yearwood
Toronto, Ontario, Canada
Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Network:
Windows 2008 Server
>Hi all,
>
>Ran into this a while back but still no solution. This has started occurring at a client's site after they switched from XP to Win 7.
>
>Scenario: if a user puts a CD/DVD in their drive to retrieve a file, after *removing* the dvd, they start getting this message when opening forms:
>
>"There is no disk in the drive. Please insert a disk into drive D:" (Cancel, Try again, Continue)
>
>Title on dialog is "mk.exe - No Disk", which is the .exe for my app so it is definitely being thrown from the app.
>
>Only way around it is for the user to a) reboot computer or b) stick a dvd back in the drive for the rest of the day.
>
>It seems that somehow Windows/VFP is adding on the D: drive as a search path and so every form that is opened wants to search that drive from that point onward.
>
>Anyone seen this?
>
>Thanks,
>
>Albert
Hi Albert
I vaguely remember having a problem of that sort. IIRC it was caused by VFP trying to be "helpful" by storing drive letters and paths to forms and stuff from the design time environment. So if you have things on the D drive, references to D get built into the exe. That is a too common mistake - blurring the lines between design time and run time. In VMP we had a utility to remove these references. I think it was xxdtxrelpath?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement