Shawn,

I believe it is because $HTML grows beyond KiX's limits for strings. I will add some code that stores every say 200 lines in a new var. Say: $html1, $html2...etc

Then pass all these together to the browser like this: $nul = olecallfunc($d15p14yoc, "write", "s", "$html1"+"$html2"+...)

...if I get the time. I am going to spend this week on work related stuff

cj

cj