Solved

dbase for DOS fix

Posted on 1998-09-18
10
1,180 Views
Last Modified: 2010-05-18
I have an old dbase file witch is corrupt.

does anyone know a fixprogram to fix this.

I tried dbrx14.exe but this program is no good.
0
Comment
Question by:dto
  • 6
  • 3
10 Comments
 
LVL 5

Expert Comment

by:chewhoung
ID: 1025716
Try some file from this site:
http://www.iag.net/~philb/ftputils.htm

try dbfdat.zip or other utility.

Related sites:
http://dspace.dial.pipex.com/town/square/tac61/ecvolink.htm
0
 
LVL 5

Expert Comment

by:vboukhar
ID: 1025717
I've such problems a lot of times, and solve it manually with any bynary editor (like Norton DiskEditor). DBF file have a very simple structure of header. If you want, I can scan it (I have only printed copy) and send you via e-mail, or you can send me your file and I fix it.
vboukhar@usa.net
0
 
LVL 5

Expert Comment

by:vboukhar
ID: 1025718
I mean description of DBF file structure, of course
0
 

Author Comment

by:dto
ID: 1025719
Please scan and email me a copy.

dto2@bigfoot.com
0
 

Author Comment

by:dto
ID: 1025720
No good,

I need a superB program for this file..

Very important !!!!!!!!!!!!!!!!!!!!!!

0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 5

Expert Comment

by:vboukhar
ID: 1025721
Try compile such cod in any C compiler:
(structure of header is dbf_hd). Programm write on screen conents of dbf file)
#include "stdio.h"
#include "io.h"
#include "fcntl.h"
#include "conio.h"
main(int argc,char **argv)
   { int fptr,j;
     char *i;
     long int m;
     long gg;
     struct {
             char dbf_id;
             char last_up[3];
             long last_rec;
             unsigned data_off;
             unsigned rec_size;
             char filler[20];} dbf_hd;
     char stt[450],hist[450];
     if (argc==1) {printf("Wait for correct call\n");exit(0);}
     fptr=open(argv[1],O_RDWR|O_BINARY);
     if (fptr==-1) {printf("ERROR \n"); exit(1);}
     if (read(fptr,(char *)&dbf_hd,sizeof(dbf_hd))!=sizeof(dbf_hd))
         { printf("\n ERROR READING\n "); exit(2);}
     gg=lseek(fptr,(long)dbf_hd.data_off,SEEK_SET);
     m=0;
     while (m<dbf_hd.last_rec) {
      read(fptr,&stt,dbf_hd.rec_size);
      printf("%s\n",stt);
      gg=lseek(fptr,-(long)dbf_hd.rec_size,SEEK_CUR);
      m=m+1;
       }
    close(fptr);
    }

0
 
LVL 5

Expert Comment

by:vboukhar
ID: 1025722
it's part of programm was written some years ago on TurboC 2.0 :) Good luck!
0
 
LVL 5

Accepted Solution

by:
vboukhar earned 150 total points
ID: 1025723
In addition: there is program "FileFix.exe" from Norton Utilities for DOS, that could recover dBase files. I check it.

0
 

Author Comment

by:dto
ID: 1025724
I donnot have filefix.exe. where can i download it ?
0
 
LVL 5

Expert Comment

by:vboukhar
ID: 1025725
I sent you .zip with FileFix by e-mail.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Database tuning – How to start and what to tune. This question is frequently asked by many people, both online and offline. There is no hard and fast rule-of-thumb for performance tuning, however, before beginning the tuning process one should a…
I guess that all of us know that caching the data usually increase the performance, but I worried if all of us are aware about the risk that caching the data provides and how to minimize this.  That’s the reason why I decided to write this short art…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now