Results 1 to 5 of 5

Thread: Custom Form installation

  1. #1
    Aditi Guest

    Default Custom Form installation

    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



  2. #2
    Sue Mosher [MVP] Guest

    Default Re: Custom Form installation

    Take a look at the information here:

    http://www.outlookcode.com/article.aspx?id=27
    http://www.outlookcode.com/article.aspx?ID=39

    If you have questions, post back with more detailed information about your
    mail environment, the type of form, and its purpose.
    --
    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" <Aditi@discussions.microsoft.com> wrote in message
    news:B2B3CC20-6C03-4F31-8B5E-51F17A8E66ED@microsoft.com...
    > 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
    >
    >




  3. #3
    Aditi Guest

    Default Re: Custom Form installation

    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


    "Sue Mosher [MVP]" wrote:

    > Take a look at the information here:
    >
    > http://www.outlookcode.com/article.aspx?id=27
    > http://www.outlookcode.com/article.aspx?ID=39
    >
    > If you have questions, post back with more detailed information about your
    > mail environment, the type of form, and its purpose.
    > --
    > 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" <Aditi@discussions.microsoft.com> wrote in message
    > news:B2B3CC20-6C03-4F31-8B5E-51F17A8E66ED@microsoft.com...
    > > 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
    > >
    > >

    >
    >
    > .
    >


  4. #4
    Aditi Guest

    Default Re: Custom Form installation

    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


    "Sue Mosher [MVP]" wrote:

    > Take a look at the information here:
    >
    > http://www.outlookcode.com/article.aspx?id=27
    > http://www.outlookcode.com/article.aspx?ID=39
    >
    > If you have questions, post back with more detailed information about your
    > mail environment, the type of form, and its purpose.
    > --
    > 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" <Aditi@discussions.microsoft.com> wrote in message
    > news:B2B3CC20-6C03-4F31-8B5E-51F17A8E66ED@microsoft.com...
    > > 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
    > >
    > >

    >
    >
    > .
    >


  5. #5
    Sue Mosher [MVP] Guest

    Default Re: Custom Form installation

    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" <Aditi@discussions.microsoft.com> wrote in message
    news:43215241-7B93-4AB1-A57C-E453BE48B36E@microsoft.com...
    > 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


    > "Sue Mosher [MVP]" wrote:
    >
    >> Take a look at the information here:
    >>
    >> http://www.outlookcode.com/article.aspx?id=27
    >> http://www.outlookcode.com/article.aspx?ID=39
    >>
    >> If you have questions, post back with more detailed information about
    >> your
    >> mail environment, the type of form, and its purpose.


    >>
    >> "Aditi" <Aditi@discussions.microsoft.com> wrote in message
    >> news:B2B3CC20-6C03-4F31-8B5E-51F17A8E66ED@microsoft.com...
    >> > 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.




Similar Threads

  1. replace default outlook form with custom form
    By poornima in forum Programming Forms Archive
    Replies: 1
    Last Post: 07-11-2009, 05:16 AM
  2. Custom Form overwriting the default appointment form in outlook 20
    By =?Utf-8?B?SXJpbmE=?= in forum Programming Forms Archive
    Replies: 1
    Last Post: 05-14-2009, 11:17 AM
  3. How do I make a custom task form the default form for tasks?
    By =?Utf-8?B?UmljaGFyZA==?= in forum Outloook General Archives
    Replies: 1
    Last Post: 05-10-2009, 07:44 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts