How to I enable browser bar with Shell.Explorer.2.

7 次查看(过去 30 天)
How to I enable browser bar with Shell.Explorer.2
main_WEB = actxcontrol('Shell.Explorer.2' ,'Position',[650 120 1220 780],... 'Parent',ws_MainFigure); Navigate(main_WEB,'http://www.deme.be/');
ShowBrowserBar(main_WEB,logical(1))
I get this error. Invoke Error, Dispatch Exception: Type mismatch.
ShowBrowserBar = HRESULT ShowBrowserBar(handle, Variant, Variant(Optional))
How do i deal with variant data type?
Thank you in advance
  1 个评论
Michal Kotze
Michal Kotze 2013-7-26
set(main_WEB,'AddressBar',logical(1)) i tried to set the property to logical one, but nothing happens. when I call property inspector and change properties on there nothing happens. I can only change the width and the length of all the properties.
main_WEB.inspect
I have the same problem trying change the properties of other actxcontrols such as windows media player? Am i missing somthing simple?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by