1. You want to use the anchor only for hiding the tool bar. In that case the
simplest solution is to have the anchor like :-
<A href="cmd:HideToolBar>Hide the Tool bar</A>
Next in the BeforeNavigate2 event you can parse the URL parameter that
is send and check if it is cmd:HideToolBar. If so you just call
WebBrowser.ToolBar = FALE. and Cancel the Navigation by setting Cancel
parameter as true.
2. The first thing that happens when the user clicks an anchor is that
BeforeNavigate2 event is fired. You can put the toolbar to false in any case
if the URL of the anchor that is clicked is in your list.
Serg V. Chernets wrote in message ...
I use .html page with code below for get the referece to Microsoft Internet
Controls
<object id=oSHDocVw
width=0
height=0
classid="clsid:8856f961-340a-11d0-a96b-00c04fd705a2"
VIEWASTEXT>
</object>
I can print page by ExecWB method
oSHDocVw.ExecWB 6,1
and some other functions yet, but when I use oSHDocVw.ExecWB 24,1 I see
message "This command is not supported".
Help me, please.
Thanks a lot!
Rama Krishna пишет в сообщении ...
http://support.microsoft.com/support/kb/articles/q181/0/75.asp?FR=0
and
http://support.microsoft.com/support/kb/articles/q172/7/63.asp
I hope this is what you want to do.
Rama krishna