Custom Forms Being Deleted

R

Richard

Hello,

I have a custom form that gets installed on clients' pc's. This
normally works without any problems.

One client has installed it on 3 separate pc's and it appears to get
deleted after it is installed. He is certain there is no anti-virus
software running.

The really odd thing is that if he installs it manually ie
:tools/options/other/advanced/options/custom forms/manage forms/
It appears to work,the form appears .. but only momentarily and then
is removed.

He is running outlook2003.

Has anyone seen (and hopefully solved:)) this problem before? He is
really adamant that no anti virus software is running.

Thanks,
Richard
 
R

Richard Smith

Hi,

My install code, (which works everywhere else)
hr = MAPIOpenFormMgr(pSession, &pFormMgr);
hr = pFormMgr->OpenFormContainer(HFRMREG_PERSONAL,
NULL,&pPersonalFormsLibrary);
hr = pPersonalFormsLibrary->InstallForm(0,
MAPIFORM_INSTALL_OVERWRITEONCONFLICT , szFormFileName);

(Error trapping etc,removed)

The manual install goes just to "Personal Forms"

Thanks,
Richard.


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
S

Sue Mosher [MVP-Outlook]

I've never heard of any similar cases of forms disappearing after being
published.

Also note: The newsgroup interface you are using apparently does not quote
earlier messages in the thread, making your latest message so short on
detail that you risk not getting the answer you're looking for. Please take
the time to quote the original message.
 
R

Richard Smith

Hi Sue,

Thanks for the advice.

I have had cases of the form being disallowed by antivirus software.

This is not a form created in Outlook, rather it is written in C using
the MAPI form interface.

When the form is installed normally, Outlook places the exe into
\Documents and Settings\[USER NAME]\Local Settings\Application
Data\Microsoft\FORMS\IPM.NOTE.CUSTSYS\

We have tried to create that folder, but after the install that folder
too is removed.

Regards,
Richard.


Re: Custom Forms Being Deleted
From: Sue Mosher [MVP-Outlook]

I've never heard of any similar cases of forms disappearing after being
published.

Also note: The newsgroup interface you are using apparently does not
quote
earlier messages in the thread, making your latest message so short on
detail that you risk not getting the answer you're looking for. Please
take
the time to quote the original message.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



Richard Smith said:
Hi,

My install code, (which works everywhere else)
hr = MAPIOpenFormMgr(pSession, &pFormMgr);
hr = pFormMgr->OpenFormContainer(HFRMREG_PERSONAL,
NULL,&pPersonalFormsLibrary);
hr = pPersonalFormsLibrary->InstallForm(0,
MAPIFORM_INSTALL_OVERWRITEONCONFLICT , szFormFileName);

(Error trapping etc,removed)

The manual install goes just to "Personal Forms"

Thanks,
Richard.


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!




*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
S

Sue Mosher [MVP-Outlook]

Ah, that's a different matter entirely. An antivirus tool blocking the
custom MAPI form .exe sounds completely plausible. Unfortunately, I know
nothing about the innards of installing custom MAPI forms. You might want to
ask in a MAPI forum to see if anyone else is encountering this.

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



Richard Smith said:
Hi Sue,

Thanks for the advice.

I have had cases of the form being disallowed by antivirus software.

This is not a form created in Outlook, rather it is written in C using
the MAPI form interface.

When the form is installed normally, Outlook places the exe into
\Documents and Settings\[USER NAME]\Local Settings\Application
Data\Microsoft\FORMS\IPM.NOTE.CUSTSYS\

We have tried to create that folder, but after the install that folder
too is removed.
Re: Custom Forms Being Deleted
From: Sue Mosher [MVP-Outlook]

I've never heard of any similar cases of forms disappearing after being
published.


Richard Smith said:
Hi,

My install code, (which works everywhere else)
hr = MAPIOpenFormMgr(pSession, &pFormMgr);
hr = pFormMgr->OpenFormContainer(HFRMREG_PERSONAL,
NULL,&pPersonalFormsLibrary);
hr = pPersonalFormsLibrary->InstallForm(0,
MAPIFORM_INSTALL_OVERWRITEONCONFLICT , szFormFileName);

(Error trapping etc,removed)

The manual install goes just to "Personal Forms"
 
R

Richard Smith

Thanks.

From: Sue Mosher [MVP-Outlook]

Ah, that's a different matter entirely. An antivirus tool blocking the
custom MAPI form .exe sounds completely plausible. Unfortunately, I know
nothing about the innards of installing custom MAPI forms. You might
want to
ask in a MAPI forum to see if anyone else is encountering this.

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



Richard Smith said:
Hi Sue,

Thanks for the advice.

I have had cases of the form being disallowed by antivirus software.

This is not a form created in Outlook, rather it is written in C using
the MAPI form interface.

When the form is installed normally, Outlook places the exe into
\Documents and Settings\[USER NAME]\Local Settings\Application
Data\Microsoft\FORMS\IPM.NOTE.CUSTSYS\

We have tried to create that folder, but after the install that folder
too is removed.
Re: Custom Forms Being Deleted
From: Sue Mosher [MVP-Outlook]

I've never heard of any similar cases of forms disappearing after being
published.


Richard Smith said:
Hi,

My install code, (which works everywhere else)
hr = MAPIOpenFormMgr(pSession, &pFormMgr);
hr = pFormMgr->OpenFormContainer(HFRMREG_PERSONAL,
NULL,&pPersonalFormsLibrary);
hr = pPersonalFormsLibrary->InstallForm(0,
MAPIFORM_INSTALL_OVERWRITEONCONFLICT , szFormFileName);

(Error trapping etc,removed)

The manual install goes just to "Personal Forms"



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 

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