Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Forms / January 2004

Tip: Looking for answers? Try searching our database.

Outlook 2003 - Custom form does not run when opened in other user's folder

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tim - 02 Jan 2004 17:06 GMT
I am using Outlook 2003 and MS SQL Server 2000 I am developing 2 custom forms: 1 for contacts and 1 for appointments

Whenever the custom contact or custom appointment is saved or modified or deleted, information is saved or modified or deleted on the SQL database. Whenever the custom contact or custom appointment is opened, it reads data from the SQL database and populates the custom form.

I just recently deployed these custom forms by publishing them to the Outlook Organizational Forms Library. Then I went to each persons computer and in the properties of contacts or appointments, I changed the "When posting to this folder use:" field to point to my custom forms on the Organizational Forms Library.

Then I ran the VBA code included in the Help file of Outlook, to convert all the old contact items (IPM.Contact) in the folder to my new custom form (IPM.Contact.PATContact). So now everything works fine and dandy.

The problem occurs when I do the following:

1) User A gives permission to User B as Editor to User A's Contacts and Calendar
2) User B opens a new custom contact form in User A's Contacts: WAM!!! The custom form does not work. It does not pull any data from the SQL database to populate the custom form. I do not think the Item_Open event is firing.

Has anyone experienced this problem? Anyone have any solutions? Thanks in advance!
Hollis D. Paul - 02 Jan 2004 19:46 GMT
> 2) User B opens a new custom contact form in User A's Contacts: WAM!!! The custom form does not work. It does not pull any data from the SQL database to populate the custom form. I do not think the Item_Open event is firing.

Could you be a little more explicit about the meaning of "WAM!!!".  While that has satis-
fying visual impact, it doesn't help us determine what is wrong.  Any error message
appearing on your screen at that time?  Does the SQL server report an error?  Did the
answer to the Real Question really turn out to be 37, after all?

Hollis D. Paul [MVP - Outlook]
Hollis@outhousebythesound.com
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
Tim - 02 Jan 2004 20:02 GMT
I do not think any of the events are being triggerd.

I put it a MsgBox "Fire" messsage in the Item_Open event
handler and it does not get fired.

There is no error message.

Basically none of the VB Script I wrote runs.

This problem does not happen when I used Outlook 2000.
When I create a new custom contact form in another user's
contacts folder, all my drop downs are populated and all
the information is pulled from the SQL server.

When I use Outlook 2003, nothing happnes. The form appears
but none of the drop downs are populated.

Thanks for your response.

I am really baffled here.
- 02 Jan 2004 20:33 GMT
Sue from slipstick.com solved it!!

WOO HOO!!!

http://support.microsoft.com/?id=827311
http://www.slipstick.com/dev/ol2003problems.htm#favforms

THANK YOU!!!

>-----Original Message-----
>I do not think any of the events are being triggerd.
[quoted text clipped - 18 lines]
>I am really baffled here.
>.
Sue Mosher [MVP] - 02 Jan 2004 20:33 GMT
Known issue -- see http://www.slipstick.com/dev/ol2003problems.htm#favforms.
Form script in other mailboxes does not run, by default, but you can change
the setting with a registry entry.
Signature

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

> I am using Outlook 2003 and MS SQL Server 2000 I am developing 2 custom forms: 1 for contacts and 1 for appointments.
>
> Whenever the custom contact or custom appointment is saved or modified or deleted, information is saved or modified or deleted on the SQL database.
Whenever the custom contact or custom appointment is opened, it reads data
from the SQL database and populates the custom form.

> I just recently deployed these custom forms by publishing them to the Outlook Organizational Forms Library. Then I went to each persons computer
and in the properties of contacts or appointments, I changed the "When
posting to this folder use:" field to point to my custom forms on the
Organizational Forms Library.

> Then I ran the VBA code included in the Help file of Outlook, to convert all the old contact items (IPM.Contact) in the folder to my new custom form
(IPM.Contact.PATContact). So now everything works fine and dandy.

> The problem occurs when I do the following:
>
> 1) User A gives permission to User B as Editor to User A's Contacts and Calendar
> 2) User B opens a new custom contact form in User A's Contacts: WAM!!! The custom form does not work. It does not pull any data from the SQL database
to populate the custom form. I do not think the Item_Open event is firing.

> Has anyone experienced this problem? Anyone have any solutions? Thanks in advance!
Sue Mosher [MVP] - 02 Jan 2004 21:07 GMT
Wrong section of that page -- use
http://www.slipstick.com/dev/ol2003problems.htm#mailboxscript

> Known issue -- see http://www.slipstick.com/dev/ol2003problems.htm#favforms.
> Form script in other mailboxes does not run, by default, but you can change
> the setting with a registry entry.

> > I am using Outlook 2003 and MS SQL Server 2000 I am developing 2 custom
> forms: 1 for contacts and 1 for appointments.
[quoted text clipped - 24 lines]
> > Has anyone experienced this problem? Anyone have any solutions? Thanks in
> advance!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.