How to make an entire toolbar visible?

G

GAR8

Hello,

I have been struggling with this issue for some time now. I have a VDC
on a form that gets placed on a Tab window using third party software.
This third party software strips all menu bars, even ones placed on a
user control, from the form. So, I have been re-creating the Visio
Menu bar. I have been creating connections to menu actions using the
DoCmd. What I have been trying to figure out is if I can show an
entire Visio Toolbar. For example I have recreated the Visio View menu
and have been trying to use the View->Toolbars->Stencil to show the
Stencil toolbar. I used the Visio macro recorder to capture
"Application.CommandBars("Stencil").visible =True". However, when I
add this to my VB6 code the toolbar does not become visible. So, is
there something I am missing with regards to Visio, or since the Visio
Menu's get stripped by this third party software is it blocking the
toolbar from being seen? So, can anyone help me eliminate Visio as the
reason why the toolbars are not being visible. Is there another
approach or an additional step(s) that need to be taken to make the
toolbar visible, like "ShowToolBar"?

Thank You,
Greg
 
J

JuneTheSecond

Are you sure that "Application" in your code referes to Visio.Application?
I am affread that "Application" in VB6 refers to the appliaction that users
are building now, if user does not clearly define it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top