How to use a custom form as a default folder form ?

D

David

Hi ,
I created a custom form and I published it in the calendar folder.
From the Calendar properties dialog I selected the general tab and then
choose this custom form as the default form of this folder.
It works good but sometimes when I open an appointment item I get the
original default form instead of my new custom form so I have to open again
the calendar properties dialog and choose my form again as the deafult form
for this calendar.

How can I fix it ? (I use office 2003)

Thanks,
David
 
K

Konstantin

David said:
Hi ,
I created a custom form and I published it in the calendar folder.
From the Calendar properties dialog I selected the general tab and then
choose this custom form as the default form of this folder.
It works good but sometimes when I open an appointment item I get the
original default form instead of my new custom form so I have to open again
the calendar properties dialog and choose my form again as the deafult form
for this calendar.

How can I fix it ? (I use office 2003)

Thanks,
David
Hi, David!
Now I have the same problem - making custom form as default for
specified folder crashed my head! I've heard that the form depends on
message class and even on some mythic registry settings... So, any help
to me and David is GREATLY appreciated!
 
S

Sue Mosher [MVP-Outlook]

There are no registry settings related to a form being the default for a folder. There is a registry setting for making a custom form the default form globally, not just in a folder. See http://www.outlookcode.com/d/newdefaultform.htm#changedefault . Note that it doesn't work completely for message forms in Outlook 2003.

David's case may simply be forms cache corruption. Clearing the cache is the first troubleshooting step.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
K

Konstantin

Thnx for the fast reply, Sue & Ken!
I've visited this pages before i posted my question... And the problem
is i'm using OL2003, and this method (i mean use folder settings from
right-click menu and setting up restrictions) isn't good for me.
And even more- how to make custom popup form appear when i'm dragging
files to a specific folder in OL2003? For ex , when dragging files to
Inbox folder OL form appears...
Thnx in advance!
 
S

Sue Mosher [MVP-Outlook]

i'm using OL2003, and this method (i mean use folder settings from
right-click menu and setting up restrictions) isn't good for me.

Please explain why it isn't good for you.
And even more- how to make custom popup form appear when i'm dragging
files to a specific folder in OL2003? For ex , when dragging files to
Inbox folder OL form appears...

That's expected, normal behavior that can't be changed. Dragging a file to the Inbox always creates a new message, by design. Please explain your application in more detail.
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
K

Konstantin

Sue said:
Please explain why it isn't good for you.
That's expected, normal behavior that can't be changed. Dragging a file to the Inbox >always creates a new message, by design. Please explain your application in more >detail.

Well, all i need is to create popup form - it will be fired when
drag'n'drop file from Windows Explorer to my specific folder. Changing
this option "when posting to..." to have my form value will give no
result. As for Inbox - i took this for example, let it be "Test"
folder.
Imagine: we are dropping file from WinExpl. to our "Test" in Outlook
and momentally have custom popup form. Have no clue how to do it in an
easy and pretty way :)
 
S

Sue Mosher [MVP-Outlook]

What you want to do can't be done with a custom form. It would require a COM add-in.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
K

Konstantin

Sue said:
What you want to do can't be done with a custom form. It would require a COM >add-in.
Yeah, that what i exactly need to hear... :(((
Any code samples to find out the way to the happiness?
 
S

Sue Mosher [MVP-Outlook]

The key would be using the MAPIFolder.Items.ItemAdd event (well documented in Outlook Help and in many samples on the Internet) to detect the arrival of the item in the folder. Note, however, that the event would fire for all users running such an addin, not just for the user moving the item into the folder.

For more information on constructing COM add-ins, including samples, see http://www.outlookcode.com/d/comaddins.htm

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
K

Konstantin

Sue said:
The key would be using the MAPIFolder.Items.ItemAdd event (well documented in Outlook Help and in many samples on the Internet) to detect the arrival of the item in the folder. Note, however, that the event would fire for all users running such an addin, not just for the user moving the item into the folder.

For more information on constructing COM add-ins, including samples, see http://www.outlookcode.com/d/comaddins.htm
Ookay, that looks nice! Thnx for reply!
And one more question :)
I have no MS Exchange server running and have Extended MAPI/OL2003.
And VC++ knowledge ))))
So, can i set permissions to users that will restrict access to
specific folders for specific users (or their groups) without Exchange
server? Maybe i need just read/ can't read permission or even
visible/invisible...
 
S

Sue Mosher [MVP-Outlook]

No, a user has complete access to all the folders in non-Exchange environment (unless you're using some third-party sharing tool with its own security mechanism).

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
K

Konstantin

Sue said:
No, a user has complete access to all the folders in non-Exchange environment >(unless you're using some third-party sharing tool with its own security mechanism>).

Aha, and if I use such a tool, it will set permissions specifically for
outlook-like tools or globally with MAPI? Or i can't set that dirty
permissions for ALL mapi clients at all?
What u said is my goal - i mean creating that "3-rd party tool with its
own security mecanism", so i need to know if it will be able to set
permissions
"once and forever" ))))
 
S

Sue Mosher [MVP-Outlook]

There are no intrinsic permissions that you can set in Outlook to provide that capability in a mailbox or .pst file, since a user has full access to all their own folders. Any "permissions" would be restrictions imposed by the operation of such a tool, e.g. deleting new items the user puts in a particular folder or rolling back the user's changes. (Note that the Outlook model itself provides no way to prevent the user from deleting items. I'm not conversant in Extended MAPI's capabilities in that area.)

The obvious (theoretical) alternative is to use Extended MAPI to create your own custom information store.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
K

Konstantin

Sue said:
There are no intrinsic permissions that you can set in Outlook to provide that capability in a mailbox or .pst file, since a user has full access to all their own folders. Any "permissions" would be restrictions imposed by the operation of such a tool, e.g. deleting new items the user puts in a particular folder or rolling back the user's changes. (Note that the Outlook model itself provides no way to prevent the user from deleting items. I'm not conversant in Extended MAPI's capabilities in that area.)

The obvious (theoretical) alternative is to use Extended MAPI to create your own custom information store.
Ok, Sue, that was good conversation! Thnx for ur gr8 help!
 

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