>Works fine but if you click CANCEL it prompts with a
>Runtime Error
>Line 49
>Error: This command is not supported.
>on line: unclick="WebBrowser1.ExecWB(6,1)">
You're confusing ActiveX with JavaScript.... This is how I would provide a
method to print a page with JavaScript:
<input type="button" value="Print" onclick="window.print()">
There is an excellent JavaScript list for application programmers called
JS-Jive. There are a lot of CFers on it as well and has moderate traffic.
You can subscribe by sending a blank email to
mailto:[EMAIL PROTECTED]
Steve
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.