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

7 views (last 30 days)
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 Comment
Michal Kotze
Michal Kotze on 26 Jul 2013
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?

Sign in to comment.

Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!