• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 145
  • Last Modified:

Who of you remember...

...cardfile.exe in old win 3.x days?

Well, i would like to know is how i could read the files generated by that app and extracts the contents of every card.

Thanks in advance.
Cheers
0
Richie_Simonetti
Asked:
Richie_Simonetti
  • 4
  • 3
  • 2
1 Solution
 
rspahitzCommented:
I recall the app, but only looked at the format once or twice...years ago.  Is any part of it legible in a text viewer?  I seem to recall a fixed field format, which means you could drop it into excel and use the parser to get what you want.
0
 
vinnyd79Commented:
I wasn't familiar with the program,but I just tried it out and the files look readable. Cardfile.exe also exists in Win98. Its in the cab files and can be extracted using sfc by selecting 'cardfile.exe' to restore.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Richie_SimonettiIT OperationsAuthor Commented:
vinnyd79, the site looks promise but unfortunatelly, code isn't available.

rspahitz, that was one of my first thought. If it is not fixed length, at least, could be kinda record when we use it to read/write files. maybe, they has a record structure but i don't know which is.
0
 
vinnyd79Commented:
You can download the DLL here

http://www.csdn.net/Dev/Visual%20C++/source%20code/Misc/cardfile.shtml.htm

The example is in C,but maybe you can figure out how to call the DLL from VB.
0
 
Richie_SimonettiIT OperationsAuthor Commented:
rspahitz, please tell me more about parser...
0
 
Richie_SimonettiIT OperationsAuthor Commented:
vinnyd79, this other link has o good download link. I will check it.
Thanks to both.
0
 
Richie_SimonettiIT OperationsAuthor Commented:
Cool! Thanks.
0
 
rspahitzCommented:
>tell me more about parser

The Excel app lets you import files in different formats.  If you try to open a format that it recognizes as text, it starts the Text Import Wizard.  From there, you get the choice of using a "Delimited" or "Fixed width" parser.  The delimited will search for a specified separator (usually commas or tabs) and use that to split the fields into columns.  The fixed-width parser asks you to specify column locations where Excel should split the file.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 4
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now