Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Are Microsoft Office Commandbars supported in VB6?

Status
Not open for further replies.

joerobbins

Programmer
Jan 17, 2003
3
GB
This may be a dumb question ... but

When creating an EXE from a VB Project is it possible to add Office Commandbars to the root form?

I've added Microsoft Office to the Project References and that all looks fine.

I'm familiar with customising Commandbars in VBA for Access, but I can't figure out the equivalent to:

Code:
  Set MenuCommandBar = CommandBars.Add("BCS_Menubar", msoBarTop, True, True)

Is there some trick to getting a reference to (the equivalent of) "Application.CommandBars"

Or is VB6 stuck with the original (simple) Tools --> Menu Editor style?

Any tips appreciated!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top