size > 0 on a new form on a specific computer ?

M

Me

Hi there,

I have this strange problem:

I made a outlook custom form which contains code and publish it in the
Organizationnal From Library. It has an Item_Open event that use a if
size > 0 condition to init the form.

However, on one particular computer, when the user choose the form and
try to fill it, the item_open event seem to execute but it looks like
the size > 0 condition returns true.

The size of the form when i send it to myself is very small (3k) so i
don't think i have an ONE/OFF problems, and most users can use it
without problems. Events (Item_PropertyChange, Item_Open) triggers as
it should, so macro aren't disable neither. As I published a previous
version (under an other name though), I tried to clear the Outlook
cache using Tools/Options menu. Changes nothing...

Any suggestion's welcome...
tkx
 
M

Me

Well, in fact it seems that my form isn't the problem: if i design a
standar message form on her computer and just put a msgbox(size) on
the item_openm sub and run the form, the message already have a size
of 128... I manage to fix my problem by checking for entryID rather
then size but still I'm wondering how an empty message can already
have a size ? Any idea ?

Tkx
 
H

Hollis D. Paul

the message already have a size
of 128... I manage to fix my problem by checking for entryID rather
then size but still I'm wondering how an empty message can already
have a size ? Any idea ?
I've never had that problem. Sounds like you are doing a save
operation in code, but then it would happen on all clients.

Hollis D. Paul [MVP - Outlook]
(e-mail address removed)
Using Virtual Access 4.52 build 277 (32-bit), Windows 2000 build 2195
http://search.support.microsoft.com/kb/c.asp?FR=0&SD=TECH&LN=EN-US

Mukilteo, WA USA
 
M

Me

I don't do any save operation: as i said, even if a design a new
message form on a user's computer and put the only sub:

Sub Item_Open
MsgBox(Size)
End sub

and choose form-run this form
the message box already display 128...

I tried to remove her signature, and disable the Automatically save
unsent items option in her outlook options (even if I personnaly use
these options and every thing works just fine) and even try to install
everything she have on her computer that interfer with outlook
(hotbar, attachement option add-in...) still i could not reproduce
this problem on my computer and her mail still weight 128 on open...
Very confusing...

Hollis D. Paul said:
the message already have a size
of 128... I manage to fix my problem by checking for entryID rather
then size but still I'm wondering how an empty message can already
have a size ? Any idea ?
I've never had that problem. Sounds like you are doing a save
operation in code, but then it would happen on all clients.

Hollis D. Paul [MVP - Outlook]
(e-mail address removed)
Using Virtual Access 4.52 build 277 (32-bit), Windows 2000 build 2195
http://search.support.microsoft.com/kb/c.asp?FR=0&SD=TECH&LN=EN-US

Mukilteo, WA USA
 

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