Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Forms / July 2005

Tip: Looking for answers? Try searching our database.

Hiding default Outlook menus when displaying custom forms

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Long Nguyen - 22 Jul 2005 02:18 GMT
(outlook 20002)
I have designed a custom Outlook and many users use it. One thing is when
the form is opened for composing or an existing form is opened for viewing
the Outlook drop-down menus (File,Edit, View, Insert, Form, Tools etc) are
still there. Some of these contain "undesired" options. For example the Form
menu contains "Design this form" option, but I do not want user to be able
to design the form that they are filling out or viewing. Is there a way to
hide these menus when a form is opened?

(A MS Technet article shows how to hide the Form/View Code option through
vbscript. I tried this and it hided the option, but also hided it in form
design mode. I did press he Shift key when opening the design mode as
suggested in the article but it did not work.)

Long.
Sue Mosher [MVP-Outlook] - 22 Jul 2005 13:11 GMT
Sounds like you already know the solution (a script like the one you
described) but just need the finishing touch -- code in the Item_Close event
handler to restore the menus to their normal appearance.
Signature

Sue Mosher, Outlook MVP
  Author of Microsoft Outlook Programming: Jumpstart
     for Administrators, Power Users, and Developers
     http://www.outlookcode.com/jumpstart.aspx

> (outlook 20002)
> I have designed a custom Outlook and many users use it. One thing is when
[quoted text clipped - 11 lines]
>
> Long.
Long Nguyen - 27 Jul 2005 06:58 GMT
Thanks Sue for the info.
So the way to do is programming through vbscript.

Thanks.
Long

> Sounds like you already know the solution (a script like the one you
> described) but just need the finishing touch -- code in the Item_Close event
[quoted text clipped - 15 lines]
> >
> > Long.
Sue Mosher [MVP-Outlook] - 27 Jul 2005 12:31 GMT
Yes, VBScript is the programming language used for Outlook custom forms.

Signature

Sue Mosher, Outlook MVP
Author of
    Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx

> Thanks Sue for the info.
> So the way to do is programming through vbscript.
[quoted text clipped - 30 lines]
>> >
>> > Long.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.