>>Hi all
>>I have a project that have 70 reports.
>>I want to know can i put this reports in another file and ditribute it with my exe?
>>I dont want to put these report in a directory.
>>I want that my users can not edit these reports.
>>Thanks
>
>With adir() you can create a list of files, for example, in your case, *.frx. You can create a PRG text file programmatically, and add these files to your PRG file, with some appropriate command, either REPORT FORM xyz or EXTERNAL REPORT xyz. Add the PRG to your project, and rebuild.
>
>If your report files are in more than one directory (under the same project folder, I hope), well, there are some tools in the download section that will manage that. IIRC, one of them is called XDIR.
Sorry Reza; I confused your message with the other one, about inserting reports into an EXE.
First, I think you should check how big will the EXE get. Is it really too big? 70 reports don't seem like a big problem to me; and it is easier to handle a single EXE.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)