PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook Form Programming Custom Forms Being Deleted

Reply

Custom Forms Being Deleted

 
Thread Tools Rate Thread
Old 31-08-2004, 01:14 PM   #1
Richard
Guest
 
Posts: n/a
Default Custom Forms Being Deleted


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
  Reply With Quote
Old 31-08-2004, 03:35 PM   #2
Sue Mosher [MVP-Outlook]
Guest
 
Posts: n/a
Default Re: Custom Forms Being Deleted

To what location is he publishing the form?

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Richard" <n0sp4m2003@hotmail.com> wrote in message
news:c1272570.0408310414.62bc8342@posting.google.com...
> 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



  Reply With Quote
Old 31-08-2004, 04:14 PM   #3
Richard Smith
Guest
 
Posts: n/a
Default Re: Custom Forms Being Deleted

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!
  Reply With Quote
Old 31-08-2004, 05:33 PM   #4
Sue Mosher [MVP-Outlook]
Guest
 
Posts: n/a
Default Re: Custom Forms Being Deleted

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
http://www.outlookcode.com/jumpstart.aspx


"Richard Smith" <n0sp4m2003@hotmail.com> wrote in message
news:OFz%23502jEHA.3696@TK2MSFTNGP15.phx.gbl...
> 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!



  Reply With Quote
Old 01-09-2004, 03:34 PM   #5
Richard Smith
Guest
 
Posts: n/a
Default Re: Custom Forms Being Deleted

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
http://www.outlookcode.com/jumpstart.aspx


"Richard Smith" <n0sp4m2003@hotmail.com> wrote in message
news:OFz%23502jEHA.3696@TK2MSFTNGP15.phx.gbl...
> 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!
  Reply With Quote
Old 02-09-2004, 02:29 AM   #6
Sue Mosher [MVP-Outlook]
Guest
 
Posts: n/a
Default Re: Custom Forms Being Deleted

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
http://www.outlookcode.com/jumpstart.aspx


"Richard Smith" <n0sp4m2003@hotmail.com> wrote in message
news:ufueHDDkEHA.1900@TK2MSFTNGP10.phx.gbl...
> 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" <n0sp4m2003@hotmail.com> wrote in message
> news:OFz%23502jEHA.3696@TK2MSFTNGP15.phx.gbl...
>> 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"



  Reply With Quote
Old 02-09-2004, 01:03 PM   #7
Richard Smith
Guest
 
Posts: n/a
Default Re: Custom Forms Being Deleted

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
http://www.outlookcode.com/jumpstart.aspx


"Richard Smith" <n0sp4m2003@hotmail.com> wrote in message
news:ufueHDDkEHA.1900@TK2MSFTNGP10.phx.gbl...
> 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" <n0sp4m2003@hotmail.com> wrote in message
> news:OFz%23502jEHA.3696@TK2MSFTNGP15.phx.gbl...
>> 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!
  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off