HTML Put in Wrong Place

I am trying to schedule reports, and to do that I'm creating a Delphi
console app to print reports, which
can be called from the scheduler. I have pdf reports working, but the html
reports always end up in
the directory where the executable is run from. I've tried the following:

htmlExporter.DefaultPath = blank htmlExporter.Filename = full path and file
name
htmlExporter.DefaultPath = full path htmlExporter.Filename = file name
htmlExporter.DefaultPath = full path htmlExporter.Filename = full path and
file name

Example full path = d:\projects\test
Example file name = report.html
Example full path and file name = d:\projects\test\report.html

Anyone have any idea what I am doing wrong?

-- Larry Maturo

Comments

  • edited 3:32AM
    Someone suggested that I might have the source code, and it turns out I did. So, the answer is:

    htmlExporter.AbsLinks := true

    AbsLinks defults to false, which means ignore the path information the user gave you.

    So the correct sequence is:

    htmlExporter.AbsLinks := true;
    htmlExporter.DefaultPath = full path;
    htmlExporter.Filename = full path and file name;

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.