Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
That old 'No disk in Drive (driveletter)' chestnut
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01134408
Message ID:
01138239
Vues:
19
This might be something you have covered, since it is the most obvious solution and I'm sure its not unfamliar to you - but here goes: If you are running any PRGs then you need to replace any drive references in the compiled code that point back to the original program (for debugging purposes). We use a program that runs through the .fxp files, dumps the compiled code into a binary memo field, and then replaces d:\ with c:\, e:\ with c:\ etc up to z:\ using STRTRAN. Likewise, we have a program that strips out the path information from any forms (.scx) we might still have, and finally, if you added objects onto a visual class that have come from somewhere other than your working drive and directory and cannot be referenced back to their parent class without including a drive letter, we re-map those as well by relocating the parent into a directory that can be referenced just with ..\..\ etc.

Chris
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform