Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Program hang!!!! Urgent
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00684472
Message ID:
00685660
Views:
28
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform