Gillez:I would try a couple of things here:
1) Temporarily remove or simplify the HTML writes to simple one-liners, then retest. If this is the problem, you might want to try expressing long HTML statements like this:
code:
$html =
"<head><title>Stichting Cascade - Fancy Login Script</title>" +
"<style><!--body { font-family: Verdana, Arial, Helvetica, " +
"sans-serif; font-size: x-small; font-style: normal; line-height:" +
"normal; font-weight: normal; font-variant: normal; text-transform: " +
"none; color: #330033; text-decoration: none; background-attachment: " +
"fixed; background-color: #FFFFFF; background-image: " +
"url(\\sb1phoenix\netlogon\ielogin\bgFR.jpg);"
...
2) To find out why the copy commands aren't working, place debug statements in your sub-scripts, right after your command like this:
code:
COPY "this" "that"
?"error @error @serror"
3) For long HTML writes with imbedded jpg's and gif's, you might want to place a script sync-up statement right after it, like this:
code:
$= olecallfunc ( $doc, "write", "s", "<h1>A very long HTML string</h1>" )
while olegetproperty ( $ie, "busy" ) <> "0" loop
This pauses the script until IE completes all outstanding operations (the "Done" message appears lower left browser window).
4) Lastly - don't forget - your pioneering new KiX territory here ( I think ) so I applaud your efforts - but who knows what manner of strange behaviors might be encountered.
I just hope the problem is something simple and easy to fix !
Shawn.
[This message has been edited by Shawn (edited 04 August 2000).]