Reports in VB 6.0 with Proprietary files
Posted on 2004-09-26
I have an app that use proprietry file formats so it does not connect to a database. I used the format:
TaMainLineBuffer = Input$(Len(CurrEval), #fileno)
to read the files into a UDT and then manipulate the fields.
To write the files I use:
Print #OutputFileNo, savebuffe)
The tables are .txt files with data in the files stored in encrypted format.
My user has requested more elaborate reports from the application. Up to this point we have been using 'PrintForm' to generate hard copy output.
All that I have seen about the VB report generator include the first step up setting up a data environment. Once the data environment is established the 'report generator' can be used. Is it possible to set up a data environment using these proprietary file formats? If not what are my options for creating reports.? I know that I can create custom forms in the format of the printed output and still resort to using 'Printform' for send them to hard copy but I was looking for a better option. The existing forms are very involved and the idea of duplicating them (with certain changes) for print is not very appealing.
This app is distributed to the client as an .EXE so any report writing would have to work in that context. I would not have a valid license, not does the client wish to purchase one for any external report writers (Crystal etc...)
I don't think that I have many options here but that is why I am asking the experts.