Solved

"enable macros" and "disable macros" dialog

Posted on 1998-10-01
1
594 Views
Last Modified: 2011-09-20
Hi

I made a custom form in my outlook 97 , it is stored on
the local pc and not on an exchange server.

the problem is that every time I a message based on that
form , I get the "enable macro" | "disable macro" dialog
and I surely can't ship this form as an application with
that poping up every time , how do I get rid of it ?

BTW ,

even in end-client computer I can't gurrante an exchange
server exist and the form will be probably stored in the
local pc too.

Thanks
0
Comment
Question by:moshem
1 Comment
 
LVL 5

Accepted Solution

by:
chewhoung earned 200 total points
ID: 1621752
Here's the answer from Microsoft:

OL98: Questions About Custom Forms and Outlook Solutions
Last reviewed: September 2, 1998
Article ID: Q182349
 
 


--------------------------------------------------------------------------------

The information in this article applies to:
Microsoft Outlook 98


SUMMARY
This article answers some of the more commonly asked questions about creating custom Microsoft Outlook 98 forms or programming Outlook either through Microsoft Visual Basic Scripting Edition (VBScript) or Visual Basic for Applications Automation.

Topics covered include:

Available resources for customizing Outlook
Setting up a simple form for use in a folder (message classes)
Custom forms and programming limitations
Disabling the enable/disable macro virus warning
Cannot select a control in design mode
Data does not get saved with form
Programmatically referring to folders and items
How to use Automation with Outlook
One-off forms
Programmatically importing items into Outlook
Using the SetColumns method
Working with User-defined fields
Using Outlook 98's new contact fields
Control and field events
General information about VBScript

MORE INFORMATION

Where do I get started with custom forms or programming Outlook?

For more information about available resources for learning how to create solutions with Outlook 98, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q180826
   TITLE     : OL98: Resources for Custom Forms and Programming


I have created a custom form for my Contacts, Tasks, and so on, but it is not being used when I create a new item, when I open an existing item I had before I created the form, or when I create a new item. Why is my form not being used?

To use a custom Outlook form, there are three steps you need to complete.
First, publish the form in the folder or forms library where you will use it. On the custom form File menu, click Publish Form. The name of the form is also the "Message Class," which is important for the next two steps.

Second, make this new form the default form for that folder. Using your right mouse button, click the folder and from the shortcut menu, click Properties. In the "When posting to this folder, use" list, click to select your custom form. Now new items that you create will use the custom form instead of the default Outlook form.

Third, if you have any existing items in the folder that should use this new form, you must change the Message Class field in each of the items in the folder. The Message Class field of an item tells Outlook which form to use to display the item. You cannot directly change this field from an Outlook since it is considered read-only, but you can use VBScript or Automation code to change it.

For more information about changing the message class of an item in a folder, please see the following articles in the Microsoft Knowledge Base:


   ARTICLE-ID: Q182274
   TITLE     : OL98: How to Update Existing Items to Use a New
               Custom Form

   ARTICLE-ID: Q182361
   TITLE     : OL98: Word 97 Document to Change Outlook Folder
               Message Class


I am trying to do something but it doesn't seem possible. Is it?

Outlook does not support a "full" object model, such as those in Microsoft Word or Microsoft Excel, so what you are trying to do may not be possible. Also, there may be other Outlook design considerations or limitations that may prevent you from using a desired approach in creating a solution.
For more information about some of the more common things that cannot be done with custom forms, VBScript, or Outlook Automation, please see the following article in the Microsoft Knowledge Base:


   ARTICLE-ID: Q182402
   TITLE     : OL98: Custom Forms and Programming Limitations


How can I disable the macro warning?

If the form is not located in a trusted location, then Outlook will display the macro warning for your protection against potentially maliciously-written programming code, commonly called macro viruses.


Disable the Macro Warning

Open the form that causes the Macro Warning dialog to open.

On the Tools menu, point to Forms and click Design This Form.

On the Properties tab, click to uncheck Send form definition with item.

On the Tools menu, point to Forms, and click Publish Form.

Close the form. It is not necessary to save the changes if prompted.

For more information about this issue, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q182376
   TITLE     : OL98: Why Outlook Displays a Security Warning Opening
               an Item


 

0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now