Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DBASE 2000 file lock?

Status
Not open for further replies.

HowardHammerman

Instructor
Oct 11, 2001
640
US
Hi gang,

I got called in to help a client who had a major application written by a programmer in DBASE 2000. The program works great, mostly. Unfortunately the programmer took sick and may be dying. I don't think he left the source code, at least I could not find the major *.prg files.

Here is the problem:
I got into DBASE using the command window and looked at the various tables. I made no changes to the tables.
We tried to run a routine that imported data from a remote location. During the input run the computer got hung. We terminated the program using the task manager. The client's operating system is Windows 2000.

When the program starts it runs a "startup" routine that
opens each of the eight tables using exclusive mode and then packs it. I was able to find the 'maintain.prg' that does that.

Now when we start the program the maintain program cannot find the table. When we click 'ignore' we get a chance to point to the table. We do so and then it says that the table is in use by another and it cannot pack because it cannot get exclusive use.

OK. I don't know what I did. I know messing with someone else's program is dangerous, but I did it.

I imagine that some flag is set that the tables are open. Is there a way to re-set them? We tried re-booting, no help.

Also, is the source code stored somewhere other than in *.prg files? Can we 'de-compile' the *.exe?

thanks a bunch!!! Howard Hammerman,

Crystal Reports training, consulting, books, training material, software, and support. Scheduled training in 8 cities.
howard@hammerman.com
800-783-2269
 
Unfortunately I do not posses db2k. However you may want to ask the originators of the software. I also believe they have a sort of discussion board or some newsgroups that may assist you.

Check out:
Hope that site helps you.
--MiggyD It's better to have two heads to solve a problem from different angles than to have tunnel vision to a dead end.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top