![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Hallo, Outlook experts,
I've developed a form and pulished it to calendar folder. But I didn't replace the standard form with that. So if the user double click the calendar, the standard calendar form will be opened. And the user can open the user defined form (to create a new appointment with some special fields) only through menu bar - Actions. What I want to do is to enable the user to open the user defined form in a simplier way. The first idea of mine is to add this into the context menu. But I've read some posts of Sue in this forum and suppose that this is not possible in Outlook. (If I understand it correct, modifying the context menu is only possible if the user chose one item. So it cannot be used in the situation if the user wants to create one new appointment.) The second idea of mine is to add one menu bar. I've already realized the following functions with my program: - activate/deactivate the menu bar depending on the folder which is being selected. - open the user form when the user clicked on the menu item (using objFolder.Items.Add("IPM.Appointment.XXX")) Now my problem is how can I get the user marked time peroid in calendar. (If you call user defined form through actions, it will automatically accept the time peroid in calendar selected by user. The start and end date will be matched in the created appointment.) I guess there are two possibilities to solve this problem: - there is one Outlook function to get the selected time period in calendar. - it is possible to call action in code. (That means that the form is opend actually by the menu bar - Actions. But this action is activated by code instead of the click by user.) But I have no idea how to realize it. I'd appreciate it if anyone can help me further... Thanks a lot Lucia |
#2
|
|||
|
|||
![]()
The way to get the highlighted period is to create a new appointment using CommandBars techniques. See http://www.outlookcode.com/codedetail.aspx?id=616
-- 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 "Lucia" wrote in message ups.com... Hallo, Outlook experts, I've developed a form and pulished it to calendar folder. But I didn't replace the standard form with that. So if the user double click the calendar, the standard calendar form will be opened. And the user can open the user defined form (to create a new appointment with some special fields) only through menu bar - Actions. What I want to do is to enable the user to open the user defined form in a simplier way. The first idea of mine is to add this into the context menu. But I've read some posts of Sue in this forum and suppose that this is not possible in Outlook. (If I understand it correct, modifying the context menu is only possible if the user chose one item. So it cannot be used in the situation if the user wants to create one new appointment.) The second idea of mine is to add one menu bar. I've already realized the following functions with my program: - activate/deactivate the menu bar depending on the folder which is being selected. - open the user form when the user clicked on the menu item (using objFolder.Items.Add("IPM.Appointment.XXX")) Now my problem is how can I get the user marked time peroid in calendar. (If you call user defined form through actions, it will automatically accept the time peroid in calendar selected by user. The start and end date will be matched in the created appointment.) I guess there are two possibilities to solve this problem: - there is one Outlook function to get the selected time period in calendar. - it is possible to call action in code. (That means that the form is opend actually by the menu bar - Actions. But this action is activated by code instead of the click by user.) But I have no idea how to realize it. I'd appreciate it if anyone can help me further... Thanks a lot Lucia |
#3
|
|||
|
|||
![]()
Hi, Sue,
thanks a lot. And it works wonderfully.... regards Lucia |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Offline and user defined form in public favorite folder | Lucia | Outlook and VBA | 6 | September 8th 06 01:31 PM |
Couldn't open user defined form and clear cache | Lucia | Outlook and VBA | 3 | September 6th 06 11:48 AM |
Adding User Defined Field to Task Form | Gordon Staley | Outlook - Using Forms | 4 | May 2nd 06 09:24 PM |
Default Form and Mapping User Defined Fields | Mark | Outlook - Using Contacts | 1 | April 3rd 06 03:15 PM |
Insert into a new e-mail form user defined info from tasks | Logistics Masters | Outlook - Using Forms | 1 | March 20th 06 09:25 PM |