Generate Ace Report on Web

installation:

  First,copy AceViewer.cab,biolife.db,biolife.mb,biolife.px,ACEHTML.exe,aceweb.exe,AcePack.dll into
  your web directory,
  Next, create a folder named "acemeta" under the web directory.
  Finally,mapping virtual directory to the web directory and make the virtual directory excutable.
  
  Just type http://yourhost/vr/aceweb.exe to run this demo.

explanation:

/acemeta:
	Forder for generated report files.All files in this folder may be deleted in 10 minutes.
	
/aceviewx: 
	Contain a IE's plugging to help view Ace reoprt file on IE browser.
	File extention .ace for original ace file and acz for those zipped ace file.
	Compile result had put in the AceViewer.cab for future web automatic download.
	
/Acepack:
	ISAPI program(Acepack.dll) to zip ace file and generate necessary html code.

/webdemo:
	demo cgi(aceweb.exe).
	
biolife.*:
	paradox data file.
	
ACEHTML.exe:
	A CGI program help to translate ace file to other format.
	Develop by Gnostice AceReporter Export 1.02 and without source code,
	because I'd modified some source code to generate chinese .pdf and .rtf report.
	If you use double-character-set like me,please notice:
	1. Be sure set all Sctvarlabels to the os common use font name,
	   becase generated pdf file doesn't use embed font format.
	   For example,my window uses Traditional Chinese,so I set Sctvarlabels's font name to
	   xi-ming or biao-kai.
	2. For rtf file,like generate pdf file,set label's font name to os's 
	   common use font.
	   In my enviorment,when I set Sctvarlabels wrapable, then I get a incorrect width labed
	   (zero width).So I make some change on source code to prevent from the error,but I am
	   not sure that if the error will happen on your enviorment.

note: 
I use Ace pro version 1.4,and sometime error occured when run ace report.
So I modified then unit SctRep partially.

procedure TSctReport.Run;
begin
{  if AceBandCheck(FPage, True, False) And AceBandCheck(FPage, False, False) then
  begin}
    if InitReport then
    begin
      while FPrinting do
      begin
        ProcessReport;
        If not FPrinting then Break;  //added this line
        Application.ProcessMessages;
      end;
    end;
{  end;}
end;

kent.yeh@kangdainfo.com
	   