Big form size.

J

Jacob Kronne

The size of my apoointment item based form is 500K.
Is there any way to put the code out of form?
Something like "include"?
 
K

Ken Slovak - [MVP - Outlook]

Any form code is always part of the FormDescription property and has to be
included in the master form that you publish. However, unless your form is
one-offed instances of the form that you open after it is published should
be much smaller.
 
J

Jacob Kronne

May I use Com Add-In with the form?

Ken Slovak - said:
Any form code is always part of the FormDescription property and has to be
included in the master form that you publish. However, unless your form is
one-offed instances of the form that you open after it is published should
be much smaller.
 
K

Ken Slovak - [MVP - Outlook]

You can use a COM addin to work with items but not as a complete substitute
for a custom form. A custom form can call code in the ThisOutlookSession
module and can call COM addin code but using the code in ThisOutlookSession
isn't supported, which means it works now but may not in the future.

I've developed enormous forms that aren't one-offed and when published the
form size isn't huge. I'd suggest that your form is one-offed and that's
most likely the problem if you publish it and open an instance of the
published form and it's still huge.

See http://www.outlookcode.com/d/formpub.htm for information about
publishing forms and one-offed forms.

See http://support.microsoft.com/?kbid=240768 for information about how to
access public procedures in a COM addin from outside the addin.

To access code in ThisOutlookSession from a form you declare the code as
public subs and then access it using Application.MySubName from the form.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top