I'm working with a MS Word OLE Object on my VB application. The thing is everytime I enter the edit mode on the OLE object all the toolbars I've active in MS Word will appear giving the application a somewhat weird aspect.
So I wonder how can I disable this on the OLE object? If I open word, make all toolbars to invisible then they won't appear on my app, but what I want is everytime I start my app to turn the toolbars.visible=False.
I've tryed:
For each cbar in CommandBars
cb.visible=false
Next
but this doesn't seem to be doing anything at all...
I'm obviously missing something can anyone help me out?
(because if I run this in a macro on MS Word effectivly this will turn all command bars to invisible, but doing it from VB it doesn't seem to work at all, maybe I'm making bad references to something?)
TIA
So I wonder how can I disable this on the OLE object? If I open word, make all toolbars to invisible then they won't appear on my app, but what I want is everytime I start my app to turn the toolbars.visible=False.
I've tryed:
For each cbar in CommandBars
cb.visible=false
Next
but this doesn't seem to be doing anything at all...
I'm obviously missing something can anyone help me out?
(because if I run this in a macro on MS Word effectivly this will turn all command bars to invisible, but doing it from VB it doesn't seem to work at all, maybe I'm making bad references to something?)
TIA