Group:  Microsoft Outlook ยป microsoft.public.outlook.program_forms
Thread: How to use a custom form as a default folder form ?

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

How to use a custom form as a default folder form ?
"David"<david[ at ]mopNOSPAM.com> 12.07.2006 11:17:39
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
Re: How to use a custom form as a default folder form ?
"Konstantin" <medium1983[ at ]mail.ru> 12.07.2006 11:45:21

David wrote:
[Quoted Text]
> 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!

Re: How to use a custom form as a default folder form ?
"Sue Mosher [MVP-Outlook]" <suemvp[ at ]outlookcode.com> 12.07.2006 12:41:46
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
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Konstantin" <medium1983[ at ]mail.ru> wrote in message news:1152704721.548935.106790[ at ]p79g2000cwp.googlegroups.com...
[Quoted Text]
>
> David wrote:
>> 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!
>
Re: How to use a custom form as a default folder form ?
"Ken Slovak - [MVP - Outlook]" <kenslovak[ at ]mvps.org> 12.07.2006 13:05:35
See http://www.outlookcode.com/d/newdefaultform.htm

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Konstantin" <medium1983[ at ]mail.ru> wrote in message
news:1152704721.548935.106790[ at ]p79g2000cwp.googlegroups.com...
[Quoted Text]
>
> David wrote:
>> 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!
>

Re: How to use a custom form as a default folder form ?
"Konstantin" <medium1983[ at ]mail.ru> 13.07.2006 05:18:23
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!

Re: How to use a custom form as a default folder form ?
"Sue Mosher [MVP-Outlook]" <suemvp[ at ]outlookcode.com> 13.07.2006 11:22:59
[Quoted Text]
> 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
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Konstantin" <medium1983[ at ]mail.ru> wrote in message news:1152767903.653126.186050[ at ]p79g2000cwp.googlegroups.com...
> 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!
>
Re: How to use a custom form as a default folder form ?
"Konstantin" <medium1983[ at ]mail.ru> 13.07.2006 12:45:14

Sue Mosher [MVP-Outlook] wrote:

[Quoted Text]
> 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 :)

Re: How to use a custom form as a default folder form ?
"Sue Mosher [MVP-Outlook]" <suemvp[ at ]outlookcode.com> 13.07.2006 13:03:04
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
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Konstantin" <medium1983[ at ]mail.ru> wrote in message news:1152794714.568868.89250[ at ]s13g2000cwa.googlegroups.com...
[Quoted Text]
>
> Sue Mosher [MVP-Outlook] wrote:
>
>> 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 :)
>
Re: How to use a custom form as a default folder form ?
"Konstantin" <medium1983[ at ]mail.ru> 13.07.2006 13:18:32

Sue Mosher [MVP-Outlook] wrote:
[Quoted Text]
> 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?

Re: How to use a custom form as a default folder form ?
"Sue Mosher [MVP-Outlook]" <suemvp[ at ]outlookcode.com> 13.07.2006 13:45:33
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
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Konstantin" <medium1983[ at ]mail.ru> wrote in message news:1152796712.097526.143910[ at ]75g2000cwc.googlegroups.com...
[Quoted Text]
>
> Sue Mosher [MVP-Outlook] wrote:
>> 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?
>
Re: How to use a custom form as a default folder form ?
"Konstantin" <medium1983[ at ]mail.ru> 14.07.2006 05:15:35

Sue Mosher [MVP-Outlook] wrote:
[Quoted Text]
> 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...

Re: How to use a custom form as a default folder form ?
"Sue Mosher [MVP-Outlook]" <suemvp[ at ]outlookcode.com> 14.07.2006 11:17:57
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
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Konstantin" <medium1983[ at ]mail.ru> wrote in message news:1152854135.117547.216710[ at ]m79g2000cwm.googlegroups.com...
[Quoted Text]
>
> Sue Mosher [MVP-Outlook] wrote:
>> 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...
>
Re: How to use a custom form as a default folder form ?
"Konstantin" <medium1983[ at ]mail.ru> 15.07.2006 04:19:52

Sue Mosher [MVP-Outlook] wrote:
[Quoted Text]
> 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" ))))

Re: How to use a custom form as a default folder form ?
"Sue Mosher [MVP-Outlook]" <suemvp[ at ]outlookcode.com> 15.07.2006 13:14:08
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
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Konstantin" <medium1983[ at ]mail.ru> wrote in message news:1152937192.102032.149390[ at ]s13g2000cwa.googlegroups.com...
[Quoted Text]
>
> Sue Mosher [MVP-Outlook] wrote:
>> 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" ))))
>
Re: How to use a custom form as a default folder form ?
"Konstantin" <medium1983[ at ]mail.ru> 17.07.2006 05:14:41

Sue Mosher [MVP-Outlook] wrote:
[Quoted Text]
> 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!

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net