(Msg. 17) Posted: Fri Aug 08, 2008 10:12 am
Post subject: Re: Custom form could not be opened [Login to view extended thread Info.] Archived from groups: microsoft>public>outlook>program_forms (more info?)
Let me be a more clear.
After making cutomized form default one, when I open meeting request, it
will display my customized FindConf form between the appointment and
scheduling form.
Now on this form when I click the FindConfRoom button it will display all
the available conf rooms in list box. Then I will select any conf room and
click the button SelectConfRoom so that it will add selected conf room in
Item.Recipient list.
Now problem here is while adding the conf rooms like this if I dont
open/touch Scheduling tab then it is displaying free/busy status for all the
added conf rooms. Now suppose if I have added 2 conf room without opening
Scheduling tab, See the scheduling tab, both the added conf rooms free/busy
status are available(busy status in blue color), now again go to FinConf tab,
select other conf room and add it to Item.recipient, now if I see scheduling
tab then for lastly added confroom free/busy status will not be displayed and
it just display strips. (like. ///////////////////////////)
Hope you understood. Here I cant attach the file otherwise i could have
attached that snapshot for you.
Thanks,
Paresh
>>Why are you saving a published form as an OFT file?
See I have renamed P.2 form to FindConf in Calender. I have tried to saving
the form after published and also while designing but I am getting same
behavior. Could you please tell me which form I have to save and .oft file?
"Ken Slovak - [MVP - Outlook]" wrote:
> Why are you saving a published form as an OFT file?
>
> Your mention of Item.Recipient was the first mention of this and I'm not
> sure what you're doing or why. The steps you just listed don't mention
> adding any recipients or what exactly you're trying to accomplish.
>
> --
> Ken Slovak
> [MVP - Outlook]
> http://www.slovaktech.com > Author: Professional Programming Outlook 2007.
> Reminder Manager, Extended Reminders, Attachment Options.
> http://www.slovaktech.com/products.htm >
>
> "masani paresh" <masaniparesh.RemoveThis@discussions.microsoft.com> wrote in message
> news:A31E1958-D419-4498-B1E3-760CDD0CC863@microsoft.com...
> > No Ken,
> >
> > I do the following steps to save the form
> > a. Published the form
> > b. select calender and make customized form as a default
> > c. select calender and click new, the customized form will be there with
> > appointment and shceduling tabs
> > 4. save it as .oft file
> >
> > I didn't do anything thing else.
> >
> > Thanks,
> > Paresh
>
>
(Msg. 18) Posted: Fri Aug 08, 2008 3:31 pm
Post subject: Re: Custom form could not be opened [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
I usually work on an OFT file and publish versions of it as I go along for
testing. If you have renamed P.2 then the OFT will have that as will the
published form.
As far as updating things you really should be saving the item after you add
something to Item.Recipients so the changes are persisted and can be read by
the rest of the form. That's what I meant by saving it after adding the
recipient. That is a run time operation that should occur after adding the
selected resource to Recipients.
"masani paresh" <masaniparesh DeleteThis @discussions.microsoft.com> wrote in message
news:63FA8BD6-1B73-42E4-B16E-2980835829F5@microsoft.com...
> Let me be a more clear.
>
> After making cutomized form default one, when I open meeting request, it
> will display my customized FindConf form between the appointment and
> scheduling form.
>
> Now on this form when I click the FindConfRoom button it will display
> all
> the available conf rooms in list box. Then I will select any conf room and
> click the button SelectConfRoom so that it will add selected conf room in
> Item.Recipient list.
>
> Now problem here is while adding the conf rooms like this if I dont
> open/touch Scheduling tab then it is displaying free/busy status for all
> the
> added conf rooms. Now suppose if I have added 2 conf room without opening
> Scheduling tab, See the scheduling tab, both the added conf rooms
> free/busy
> status are available(busy status in blue color), now again go to FinConf
> tab,
> select other conf room and add it to Item.recipient, now if I see
> scheduling
> tab then for lastly added confroom free/busy status will not be displayed
> and
> it just display strips. (like. ///////////////////////////)
>
> Hope you understood. Here I cant attach the file otherwise i could have
> attached that snapshot for you.
>
> Thanks,
> Paresh
>
>
>>>Why are you saving a published form as an OFT file?
> See I have renamed P.2 form to FindConf in Calender. I have tried to
> saving
> the form after published and also while designing but I am getting same
> behavior. Could you please tell me which form I have to save and .oft
> file?
(Msg. 19) Posted: Mon Aug 11, 2008 4:46 am
Post subject: Re: Custom form could not be opened [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
>>why are you saving a published form as an OFT file?
I have also try to save the form directly from where I am modifying but it
gives same behaviour. Please let me know how should I save form as .oft then.
I did the following to add item into item.Recipient.
When I create new meeting request, on form three tab will be appear
Appointment, my customized form FindConfRoom and Scheduling. Now I will use
FindConfRoom to get the all available confrooms in the listbox. User will
select the confroom and clicks on InsertIntoAtendees to add selected conf
room into Item.Recipient list. Here problem is if I open Scheduling tab and
then add the conf rooms then for those conf rooms free/busy status will not
be displayed and instead it will display stripts like ////////.
For an example I have added 2 conf room X and Y without opening scheduling
tab. Now If I see then free/busy status will be displayed for both the conf
rooms X and Y. Now I again come to FindConfRoom tab and select another conf
room Z. Now if I see in Scheduling tab then for X and Y conf rooms(was
selected without opening scheduling tab) will have free/busy status(busy
status in blue color) displayed correctly. but for conf room Z the free/busty
status will not be displayed and instead it will display strips like
/////////.
Hoe you got the problem now. Here I can not attach the snapshot else I could
have attache snapshot for you.
Thanks,
Paresh
"Ken Slovak - [MVP - Outlook]" wrote:
> Why are you saving a published form as an OFT file?
>
> Your mention of Item.Recipient was the first mention of this and I'm not
> sure what you're doing or why. The steps you just listed don't mention
> adding any recipients or what exactly you're trying to accomplish.
>
> --
> Ken Slovak
> [MVP - Outlook]
> http://www.slovaktech.com > Author: Professional Programming Outlook 2007.
> Reminder Manager, Extended Reminders, Attachment Options.
> http://www.slovaktech.com/products.htm >
>
> "masani paresh" <masaniparesh.RemoveThis@discussions.microsoft.com> wrote in message
> news:A31E1958-D419-4498-B1E3-760CDD0CC863@microsoft.com...
> > No Ken,
> >
> > I do the following steps to save the form
> > a. Published the form
> > b. select calender and make customized form as a default
> > c. select calender and click new, the customized form will be there with
> > appointment and shceduling tabs
> > 4. save it as .oft file
> >
> > I didn't do anything thing else.
> >
> > Thanks,
> > Paresh
>
>
(Msg. 20) Posted: Mon Aug 11, 2008 5:10 am
Post subject: Re: Custom form could not be opened [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Ken, Please ignore previous update. It was duplicate.
Could you tell me how to save the item.recipient after adding it.
Item.Recipient.Save is not working. I tried to find out it from object
browser but i could not get it.
Thanks,
Paresh
"Ken Slovak - [MVP - Outlook]" wrote:
> I usually work on an OFT file and publish versions of it as I go along for
> testing. If you have renamed P.2 then the OFT will have that as will the
> published form.
>
> As far as updating things you really should be saving the item after you add
> something to Item.Recipients so the changes are persisted and can be read by
> the rest of the form. That's what I meant by saving it after adding the
> recipient. That is a run time operation that should occur after adding the
> selected resource to Recipients.
>
> --
> Ken Slovak
> [MVP - Outlook]
> http://www.slovaktech.com > Author: Professional Programming Outlook 2007.
> Reminder Manager, Extended Reminders, Attachment Options.
> http://www.slovaktech.com/products.htm >
>
> "masani paresh" <masaniparesh.RemoveThis@discussions.microsoft.com> wrote in message
> news:63FA8BD6-1B73-42E4-B16E-2980835829F5@microsoft.com...
> > Let me be a more clear.
> >
> > After making cutomized form default one, when I open meeting request, it
> > will display my customized FindConf form between the appointment and
> > scheduling form.
> >
> > Now on this form when I click the FindConfRoom button it will display
> > all
> > the available conf rooms in list box. Then I will select any conf room and
> > click the button SelectConfRoom so that it will add selected conf room in
> > Item.Recipient list.
> >
> > Now problem here is while adding the conf rooms like this if I dont
> > open/touch Scheduling tab then it is displaying free/busy status for all
> > the
> > added conf rooms. Now suppose if I have added 2 conf room without opening
> > Scheduling tab, See the scheduling tab, both the added conf rooms
> > free/busy
> > status are available(busy status in blue color), now again go to FinConf
> > tab,
> > select other conf room and add it to Item.recipient, now if I see
> > scheduling
> > tab then for lastly added confroom free/busy status will not be displayed
> > and
> > it just display strips. (like. ///////////////////////////)
> >
> > Hope you understood. Here I cant attach the file otherwise i could have
> > attached that snapshot for you.
> >
> > Thanks,
> > Paresh
> >
> >
> >>>Why are you saving a published form as an OFT file?
> > See I have renamed P.2 form to FindConf in Calender. I have tried to
> > saving
> > the form after published and also while designing but I am getting same
> > behavior. Could you please tell me which form I have to save and .oft
> > file?
>
>
(Msg. 21) Posted: Thu Aug 14, 2008 3:54 pm
Post subject: Re: Custom form could not be opened [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
"masani paresh" <masaniparesh.DeleteThis@discussions.microsoft.com> wrote in message
news:0AF88544-A441-48B6-944D-370475C1D6CF@microsoft.com...
> Ken, Please ignore previous update. It was duplicate.
>
> Could you tell me how to save the item.recipient after adding it.
> Item.Recipient.Save is not working. I tried to find out it from object
> browser but i could not get it.
>
> Thanks,
> Paresh
(Msg. 22) Posted: Fri Aug 22, 2008 12:18 am
Post subject: Re: Custom form could not be opened [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Ken,
If I do Item.Save after adding item into Item.Recipient then It is not
displaying free/busy status for any conf rooms irrespective of whether I
touched the Scheduling tab or not.
Please refer my code.
Sub CommandButton2_Click
Dim confRoomName
If Not IsNull(Item.GetInspector.ModifiedFormPages("Find Conference
Room").Controls("ListBox1").Value) Then
If Not InStr(Item.GetInspector.ModifiedFormPages("Find Conference
Room").Controls("ListBox1").Value, "(Free)") = 0 Then
confRoomName = Split(Item.GetInspector.ModifiedFormPages("Find Conference
Room").Controls("ListBox1").Value, "(Free)", -1, 1)
Else
confRoomName = Split(Item.GetInspector.ModifiedFormPages("Find Conference
Room").Controls("ListBox1").Value, "(Busy)", -1, 1)
End If
Item.Recipients.Add(confRoomName(0))
Item.Save
Else
MsgBox "Please select any conference room"
End If
End Sub
Thanks,
Paresh
"Ken Slovak - [MVP - Outlook]" wrote:
> Item.Save.
>
> --
> Ken Slovak
> [MVP - Outlook]
> http://www.slovaktech.com > Author: Professional Programming Outlook 2007.
> Reminder Manager, Extended Reminders, Attachment Options.
> http://www.slovaktech.com/products.htm >
>
> "masani paresh" <masaniparesh.RemoveThis@discussions.microsoft.com> wrote in message
> news:0AF88544-A441-48B6-944D-370475C1D6CF@microsoft.com...
> > Ken, Please ignore previous update. It was duplicate.
> >
> > Could you tell me how to save the item.recipient after adding it.
> > Item.Recipient.Save is not working. I tried to find out it from object
> > browser but i could not get it.
> >
> > Thanks,
> > Paresh
>
>
(Msg. 23) Posted: Fri Aug 22, 2008 10:19 am
Post subject: Re: Custom form could not be opened [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
I have no idea what that code is trying to do or how it relates to free/busy
information. To get free/busy information you either call for
Recipient.FreeBusy or AddressEntry.GetFreeBusy.
So if you add a recipient, then resolve it and then query its F/B
information you should get it. Or you can get the AddressEntry objects for
all resources you are interested in and then call GetFreeBusy() for those
AddressEntry objects.
This really seems to be quite removed from the issue you originally posted,
that you couldn't open a custom form. It's dragged on for so long and with
so many changes of problems that you might be best off just starting a new
thread and explaining what problem you face currently there since at this
point I have no idea what the problem is.
"masani paresh" <masaniparesh.TakeThisOut@discussions.microsoft.com> wrote in message
news:62C9F5A7-CC82-4DCD-81A8-0E7520F740AE@microsoft.com...
> Ken,
>
> If I do Item.Save after adding item into Item.Recipient then It is not
> displaying free/busy status for any conf rooms irrespective of whether I
> touched the Scheduling tab or not. >
> Please refer my code.
> Sub CommandButton2_Click
>
> Dim confRoomName
> If Not IsNull(Item.GetInspector.ModifiedFormPages("Find Conference
> Room").Controls("ListBox1").Value) Then
> If Not InStr(Item.GetInspector.ModifiedFormPages("Find Conference
> Room").Controls("ListBox1").Value, "(Free)") = 0 Then
> confRoomName = Split(Item.GetInspector.ModifiedFormPages("Find Conference
> Room").Controls("ListBox1").Value, "(Free)", -1, 1)
> Else
> confRoomName = Split(Item.GetInspector.ModifiedFormPages("Find Conference
> Room").Controls("ListBox1").Value, "(Busy)", -1, 1)
> End If
> Item.Recipients.Add(confRoomName(0))
> Item.Save
> Else
> MsgBox "Please select any conference room"
> End If
>
> End Sub
>
> Thanks,
> Paresh
All times are: Eastern Time (US & Canada) (change) Goto page Previous1, 2, 3
Page 3 of 3
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum