Custom form could not be opened

M

masani paresh

Hi,

I have created my custom form at Tools->Form->design
Forms->Calender->ConfRooms

I could save this form alog with Appointment and Scheduling tabs. but when i
opened it from same or other machine it says "The Custom form could not be
opened. Outlook will use an Outlook form instead". Any help to save this form
and install it on other machine.

Thanks,
Paresh
 
K

Ken Slovak - [MVP - Outlook]

You need to publish the form to have it work, an OFT file won't run in later
versions of Outlook.

You can publish it in the Organizational Forms Library if you use Exchange
and the form is being used internally to your organization, and if you have
permissions to publish there. Otherwise you can publish the form to each
user's Personal Forms Library or have them do so, or if the form is to be
used only in one shared folder you can publish the form to the folder.
 
M

masani paresh

an OFT file won't run in later versions of Outlook.
It will not work on Outlook 2003?

I want to send the form that I have designed at
tool->forms->designforms->calender->confroom to my friend so that he can open
it and can run. He is also using outlook 2003. Please note that I have added
"Find Conf Room" tab along with Appointments and Scheduling tabs. So what
should I do now?

Thanks,
Paresh
 
M

masani paresh

How could I do this?

I have published this form in Persobal forms library also and now I am
having same form at two locations one at Personal forns library and one at
calender. Which form outlook will use when I open new appointment?

Thanks,
Paresh
 
K

Ken Slovak - [MVP - Outlook]

It will not work on any recent version of Outlook 2003 unless it's
published.

Save the file as an OFT file after publishing it on your computer, send the
OFT as an attachment to your friend and have him also publish it. See the
Forms information on publishing at www.outlookcode.com for specific
information on publishing forms.
 
K

Ken Slovak - [MVP - Outlook]

Never, ever, publish in 2 or more places. That's an open invitation to
having your form become one-offed or to cause forms cache corruption.

Again, look at the forms information at www.outlookcode.com, as I've
mentioned before. Most of the questions you're asking are already answered
there.
 
M

masani paresh

Ken,

How could I delete the published form. I have to delete from one place as it
is at two places at present,

Thanks,
Paresh
 
K

Ken Slovak - [MVP - Outlook]

Use the manage forms dialog. Right-click on any folder in the Folder List
and select Properties. Go to the Forms tab and click the Manage button.
Select the library you want (a folder, Personal Forms, etc.) and delete it
from there. Make sure to clear the forms cache at the same time.
 
M

masani paresh

I have deleted the extraform and cleared the cache. I dont know what happened
but now my form is not running. It says "Permission denied(CreateObject). :-(

Could you please tell me what could be the wrong.

Thanks,
Paresh
 
M

masani paresh

Ken, I got the ans from http://outlookcode.com/article.aspx?id=67. Thanks for
pointing me this link.

By default, items created with custom forms do not run code when the user
opens them from a shared mailbox. You can change the setting by choosing
Tools | Options | Other | Advanced Options and checking the box for Allow
script in shared folders. You'll see that there is also an option for Allow
script in public folders. In Outlook 2007, these settings are in the Tools |
Trust Center dialog, under E-mail Security.

Thanks,
Paresh
 
M

masani paresh

Ken,

Thanks for your support. Most of things are available at outlookcode.com. I
think below is the my last question :). I did not find any info about it.

I have save the form as .oft file and follow the procedure given in
outlookcode.com to publish the form and it is working fine but when he opens
new meeting request my customized form that i have designed in P.2 is
not coming but for me it is coming. He has to choose the form from
Personalized form library or calender where the form has been published.

Is it possible to do it so that when he clicked on new meeting request that
FindConf customized form should also be there with Appointment and Scheduling?

Thanks,
Paresh
 
M

masani paresh

Ken,

One more problem that I could not find on outlookcode.com.

You know that I am inserting the value into the Item.Recipient from my
custom from. Here problem is if firtst I see the list of atendees and then
insert the new one using my custom form then it is not displaying the
free/busy status for entered item. but if i see the atendees list only after
adding the new item then it is fine.

Could you please help me here.

Thanks,
Paresh
 
K

Ken Slovak - [MVP - Outlook]

You would have to have him make that custom form the default for that item
type, which takes a registry change. It's discussed at outlookcode.com,
search on "default form".
 
M

masani paresh

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
 
K

Ken Slovak - [MVP - Outlook]

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.
 
M

masani paresh

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

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?
 
K

Ken Slovak - [MVP - Outlook]

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.
 
M

masani paresh

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
 
M

masani paresh

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
 

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