Distribute Microsoft Outlook custom forms

S

Saurabh

I am developing a custom outlook form for meeting request. I am facing
problems in deploying this form on user's machines. I want to work in the
environment where there is no exchange server and still be able to publish
this form and make it a default form for meeting request. I am having a tuf
time with this.
I got this VB Script which is supposed to publish this form on user's
machine and then using FormAdmin tool I have created a .reg file which will
make this as the default form for meeting request. But the problem is that
the VB script that I have done't work as per my expectation. Here is the
script

Set objOL = CreateObject("Outlook.Application")
Set objItem =
objOL.createItemFromTemplate("C:\Temp\COutlook\CAppointment.oft")
Set objFD = objItem.FormDescription
objFD.DisplayName = "IPM.Appointment.CAppointment"
objFD.PublishForm = olPersonalRegistry

I am expecting that when I run this script my CData form will be published
to user's personal forms registry but this gives me an error saying "Property
is readonly". I got this code from
http://www.outlookcode.com/article.aspx?id=27

I am running this script as part of my installer which extracts the content
to a temp folder and then runs this script from the extracted content and
then after that runs the .reg file. I am not sure if I am follwoing the
right flow here? Because one thing which I never understood is from where
value of variable olPersonalRegistry will be initialised, because when I
tried to print the value I got nothing.

Any help will be very much appriciated on this.
 

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