添加到收藏夹/整理收藏夹对话框 [英] Add to Favorites / Organize Favorites dialogs

查看:81
本文介绍了添加到收藏夹/整理收藏夹对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在我的应用程序中实现WebBrowser控件,我希望能够

来显示
$ b $中使用的添加到收藏夹和整理收藏夹对话框b Internet Explorer。这可能吗?


谢谢,

Lance

解决方案

< blockquote> ljEvend,


这是我本周展示的第一个和我最后一次记住我

(greath)帮助我从Herfried得到的。


\\\

AxWebBrowser.Navigate(" about :< html>< body

onload = javascript :window.external.addFavorite(''" + textbox1.Text +

"'')>< / body>< / html>")

///


我希望这有帮助,


Cor


" ljlevend2" < LJ ******* @ nospam.nospam> schrieb:

我正在我的应用程序中实现WebBrowser控件,我希望能够显示使用的添加到收藏夹和整理收藏夹对话框<在Internet Explorer中。这可能吗?




通常这应该使用''ExecWB''+''IDM_ADDFAVORITES'',但我可以

得不到它工作。


''IDM_ADDFAVORITES''命令ID

< URL:http://msdn.microsoft.com/library/default.asp? url = / workshop / browser / mshtml / reference / commandids.asp>


-

MS Herfried K. Wagner

MVP< URL:http://dotnet.mvps.org/>

VB< URL:http://classicvb.org/petition/>


非常感谢这个想法。这听起来与我正在寻找的类似,但

我无法让它发挥作用。还有其他想法或建议吗?


再次感谢,

Lance


I''m implementing the WebBrowser control in my app and I would like to be able
to show the Add to Favorites and Organize Favorites dialogs that are used in
Internet Explorer. Is this possible?

Thanks,
Lance

解决方案

ljEvend,

Was it you I showed this week the as far as I remember me first and last
(greath) help I ever got from Herfried.

\\\
AxWebBrowser.Navigate("about:<html><body
onload=javascript:window.external.addFavorite(''" + textbox1.Text +
"'')></body></html>")
///

I hope this helps,

Cor


"ljlevend2" <lj*******@nospam.nospam> schrieb:

I''m implementing the WebBrowser control in my app and I would like to be
able
to show the Add to Favorites and Organize Favorites dialogs that are used
in
Internet Explorer. Is this possible?



Normally this should work using ''ExecWB'' + ''IDM_ADDFAVORITES'', but I could
not get it work.

''IDM_ADDFAVORITES'' Command ID
<URL:http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/mshtml/reference/commandids.asp>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>


Thanks a lot for the idea. That sounds similar to what I am looking for, but
I could not get it to work. Any other ideas or suggestions?

Thanks again,
Lance


这篇关于添加到收藏夹/整理收藏夹对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆