> 
> You what you're saying is that your current application does 
> not already provide any way of viewing all the comments of a 
> case, right?

No, What I am saying is, all of the comments and the case details are
held, individualy, as html text.  Each case (along with all of the
relevant comments) can be viewed in the main application OR on a web
browser.  My original brief was for an email/web based system.

> 
> If it did, then you should be able to simply choose the 
> "print" command from the browser when viewing that page of 
> your application.
> 

If you are so simple as to choose to contribute to global warming and
deforestation by printing out a particuar case (along with all its
current comments) that is, of course, entirely possible.  However, in
order to do that, the tWebBrowser has to load the document completely.
And in order to do that, it has to be published via a web server.
Therefore a cgi publishing application is required.  My application
needs to WAIT while the whole request->publish->display thang occurs.
This wait is no problem when a human is using their human eyes to
humanly read, and their human finger to mouse~click the PRINT MenuItem.

> If it doesn't, then I wonder why you're not adding that 
> feature directly to the application instead of trying to make 
> it a separate program. 

My new manager, as a one-off request, wants to print EVERYTHING in one
go, he wants ALL of the historical data, he wants open, closed,
cancelled, completed, refused and reassigned jobs complete with any
comments and email correspondence neatly printed and indexed in ring
binders so he can read them and collate an Excel workload report.  This
is incredibly slow. (remember request->publish->display?)

> I assume your Web application already 
> has a means of displaying at least one comment on the page, 
> right? Can't you just use that mechanism to display many 
> comments on a page?
> 
> >>> So, can one of you gurus tell me:
> >>> Is there any way I can read a file directly into a tWebBrowser?
> >>
> >> When you call the Navigate2 command, give it a file name 
> instead of a 
> >> Web address. The URL might have to start with "file:".
> >
> > Once again, I would have to extract to a file first.  
> Something worth 
> > looking at tho..  Thx.
> 
> Well, you did ask how to read a _file_, after all. I guess 
> what you wanted was really how to load arbitrary content into 
> a TWebBrowser, without necessarily having any file present at all.
> 

*Sigh*, my bad, what I wanted to know was a way that I could convert
thousands of html documents to plain text quickly.  I thought I had made
that plain, obviously not :(

BIG thanks to Sid Guides who managed to see through my poorly formed
question to point me at the html->rtf code on Torry that solved my
problem exactly.

> --
> Rob
> 

Thx - Chris.

_______________________________________________
Delphi mailing list -> Delphi@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to