Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 6.0 Problems after Building EXE
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00223283
Message ID:
00223285
Vues:
22
>I'm using VFP 6.0 My program works great if I execute it from the FoxPro Command Window. But once I built the exe I've run into some bugs.
>
>Bug #1: it seems when I call certain forms TALK somehow gets turned on. The only time I reference TALK is in the beginning where I explicitly turn it off. How could this happen?

Many SET commands are scoped to the data session if you use private data sessions.

>
>Bug #2: I've moved my application and database files to another directory. (k:\launcher\run) In one specific routine, I open a database which happens to belong to a container and I get the dialog box
>
>Open Table
>k:\launcher\invoices.dbc: Cannot link table
>k:\launcher\run\summary.dbf to this database:
>duplicate or missing fields. Would you like to locate the owning database or delete the link (and free the table)?
>
>Choices: Locate, Delete, Cancel
>
>My data files are in the same directory as my program. When opened the file I made no reference to the absolute location of the database, I just issued a USE SUMMARY. So there should be no reason for it to look in my source directory. Any Ideas?

There is a reference to the path of the table stored in the DBC. The stored path is relative to the DBC. This also holds for tables in the data environment of the form.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform