Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 592
  • Last Modified:

hide all ms.word toolbars from inside my olecontainer

i writed

OleContainer1.CreateObjectFromFile('c:\document.doc',false);
OleContainer1.DoVerb(ovShow);
OleContainer1.OleObject.Protect(wdAllowOnlyFormFields);

to avoid editing my document or doing copy-paste but
i want also to hide microsoft toolbars,
how to do that?

thank you!!! :)
0
arieldri
Asked:
arieldri
1 Solution
 
LukA_YJKCommented:
There is a CommandBar object in Word.Application and it has a Visible property...
0
 
CleanupPingCommented:
arieldri:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
kacorretiredCommented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:
       to accept LukA_YJK's answer
Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Some days and here is the Christmas Time. I wish good luck and good health for you all and for your loved ones

kacor
EE Cleanup Volunteer
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now