-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: Govind_k22
Message 1 in Discussion
Hi, Can anyone tell me how to stop the print dialog when printing html
files ?? . Or Is there anyway to invoke the tool bar print button IE Here
is the piece of code, which is not compatible with other browsers ?? . is taken
from NET You can do it in ONLY IE5.5+ like this:
<object ID='WebBrowser1' WIDTH=0 HEIGHT=0 CLASSID='CLSID:8856F961-340A-
11D0-A96B-00C04FD705A2'></object>
<input onclick="WebBrowser1.ExecWB(6,1)" value=print type=button>
I seems to recall that this has an error in it, it should read:
<input onclick="WebBrowser1.ExecWB(6,-1)" value=print type=button>
or
<input onclick="WebBrowser1.ExecWB(6,0)" value=print type=button>
I cannot remember which and never bothered to retest it when it was
originally posted at:
-Govind
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you
received this message by mistake, please click the "Remove" link below. On the
pre-addressed e-mail message that opens, simply click "Send". Your e-mail
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]