Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Program hang!!!! Urgent
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00684472
Message ID:
00685660
Vues:
30
>Hi,
>Do you think the program hang because of OS version, network or hardware problem?

With WinXX this is always a possibility.
But, I'd first check to make sure I am not loosing the path information.
gcDefault and gcDataPath are global vars declared in the main.prg.

gcDefault = SYS(5) + SYS(2003) && this is where the EXE is located and is in the main subsdirectory for my apps.

Then, set gcDataPath
gcDataPath = gcDefault + "\data\"

Later, when I open a table:
IF NOT USED("AliasAddress")
USE (gcDataPath + "Address") IN 0 ...etc.... ALIAS AliasAddress
END
SELECT AliasAddress
...

My app never looses it's sense of location.
If this code fails then you have OS or hardware problems, or perhaps a virus?
JLK
Nebraska Dept of Revenue
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform