Custom Form installation

A

Aditi

Hi
I have created Custom Form(.oft) in Outlook 2003.I want to install this form
in Client machine and set this as default one using a installer...

Please help me to integrate the form to installer or suggest some work
around f or the same.


Thanks
Aditi
 
A

Aditi

Hi Sue,

Thank you for the response..

At last all research planned to go for Vbs script and will execute the
script after the installation .
For that started writing a Vbs script that will use redemption ,but got
stuck in setting the field values for the Calendar folder
Its throwing following error Objects Required:’[string: “IPM.Appointmentâ€]’

Please see the following code for reference

Dim objApp
Const PR_DEF_POST_MSGCLASS = &H36E5001E
Const PR_DEF_POST_DISPLAYNAME = &H36E6001E
Set objApp = CreateObject("Outlook.Application")
Dim Inbox
set Session = CreateObject("emhelper.mRDOSession")
Session.Logon
set olFldr =Session.GetDefaultFolder(9)
Set fld1 = olFldr.Fields(PR_DEF_POST_MSGCLASS)
fld1.Value ="IPM.Appointment.WsmOutlook2003 Form"
set k =fld1.Value
fld1.Value="IPM.Appointment.WsmOutlook2003 Form"

It looks like some conversion issue. Kindly Let me know your views and
suggestions


Thanks
Aditi
 
A

Aditi

Hi Sue,

Thank you for the response..

At last all research planned to go for Vbs script and will execute the
script after the installation .
For that started writing a Vbs script that will use redemption ,but got
stuck in setting the field values for the Calendar folder
Its throwing following error Objects Required:’[string: “IPM.Appointmentâ€]’

Please see the following code for reference

Dim objApp
Const PR_DEF_POST_MSGCLASS = &H36E5001E
Const PR_DEF_POST_DISPLAYNAME = &H36E6001E
Set objApp = CreateObject("Outlook.Application")
Dim Inbox
set Session = CreateObject("emhelper.mRDOSession")
Session.Logon
set olFldr =Session.GetDefaultFolder(9)
Set fld1 = olFldr.Fields(PR_DEF_POST_MSGCLASS)
fld1.Value ="IPM.Appointment.WsmOutlook2003 Form"
set k =fld1.Value
fld1.Value="IPM.Appointment.WsmOutlook2003 Form"

It looks like some conversion issue. Kindly Let me know your views and
suggestions


Thanks
Aditi
 
S

Sue Mosher [MVP]

Which statement raises the error? Keep in mind that we have no way of
knowing what your emhelper.mRDOSession does.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


Aditi said:
Hi Sue,

Thank you for the response..

At last all research planned to go for Vbs script and will execute the
script after the installation .
For that started writing a Vbs script that will use redemption ,but got
stuck in setting the field values for the Calendar folder
Its throwing following error Objects Required:'[string:
"IPM.Appointment"]'

Please see the following code for reference

Dim objApp
Const PR_DEF_POST_MSGCLASS = &H36E5001E
Const PR_DEF_POST_DISPLAYNAME = &H36E6001E
Set objApp = CreateObject("Outlook.Application")
Dim Inbox
set Session = CreateObject("emhelper.mRDOSession")
Session.Logon
set olFldr =Session.GetDefaultFolder(9)
Set fld1 = olFldr.Fields(PR_DEF_POST_MSGCLASS)
fld1.Value ="IPM.Appointment.WsmOutlook2003 Form"
set k =fld1.Value
fld1.Value="IPM.Appointment.WsmOutlook2003 Form"

It looks like some conversion issue. Kindly Let me know your views and
suggestions
 

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