Outlook 2002 - Customized form Size

  • Thread starter Thread starter Pauly A
  • Start date Start date
P

Pauly A

Help!

Have customized a Task form, but it keeps growing in size
when I make a change to the VBScript. When adding 4 lines
of code to include a pop up Form from a dll the form went
from 1Mb to 2Mb?? Surely this can't be right?

Is there anyway to compact the size of a Customized form.

Thanks
 
Wow. I've never seen a form that big. How are you determining the size?
 
The Form is saved in the Organizational Forms library and
I'm getting the size from the details view in the "Choose
Form" dialog box.

The problem first came to light when the form would not
open up with an error message about not enough memory. I
changed the Customer Form Temporary storage value to get
the Form open again, But I'm sure something is not right,
it shouldn't be this big?
 
No, it definitely shouldn't be that big. Do you have any custom ActiveX
controls on it? A lot of code?

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
There are no custome ActiveX controls, although the form
does include a flexi grid? The code is 350 lines long, but
as mentioned, the change made to double the size was
changing the code so instead of an input box the form
calls a form from a dll. This actually reduced the size
of the code?

I have other customer forms with more code and more
controls which aren't this size.

I am changing the version number on the form. Does
Outlook save past versions with the form?It's definitely
saving something with it? Is there no way to compress the
form?
 
No, there's no compact procedure. Exactly what Outlook saves in the form
definition is undocumented. Perhaps there's an issue related to the grid.
Which grid control are you using?

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Sue, as closure to this problem. I finally designed a new
form coping all the controls and vb from the large form
(2.2mb). The new form is no 60Kb and has lost no
functionality. Who knows what else was being saved with
the form??
 
Sounds good -- not fun, but a good outcome for the long run. Be sure to save
a backup copy as an .oft file.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top