none
OlkDate control event not firing RRS feed

  • Question

  • Hi,

    I am working on outlook 2007 Forms, I have olk date control.

    My Problem is  Any event of date control is not getting fired except click event.

    Below is my code in vb script.

    Sub dtpkrBeginDate_Change()

    MsgBox("Hi")

    End Sub

    I have tried Change and DropButtonClick events but nothing works.

    Please can you help me?



    Wednesday, February 6, 2013 1:24 PM

Answers

  • I'm guessing this is VBScript? Only Click events are supported for controls.  You'll have to develop a COM Add-in to get full access to the control's events.

    Eric Legault MVP (Outlook)
    About me...
    Outlook Appins: Store Social Media fields in your Outlook Contacts!

    Wednesday, February 6, 2013 3:04 PM
    Moderator
  • I'd be happy to answer specific questions about COM Add-in development, but there's a lot of material to read and basic concepts to grasp first - I suggest you start here:

    Developing COM Add-ins for Microsoft Outlook
    http://www.outlookcode.com/article.aspx?ID=36


    Eric Legault MVP (Outlook)
    About me...
    Outlook Appins: Store Social Media fields in your Outlook Contacts!

    Thursday, February 7, 2013 2:37 PM
    Moderator

All replies

  • I'm guessing this is VBScript? Only Click events are supported for controls.  You'll have to develop a COM Add-in to get full access to the control's events.

    Eric Legault MVP (Outlook)
    About me...
    Outlook Appins: Store Social Media fields in your Outlook Contacts!

    Wednesday, February 6, 2013 3:04 PM
    Moderator
  • HI Eric,

    Thanks for the reply.

    Yes it is in vb script, Can you please guide me to create Com Add-in as i am new to outlook forms.

    Regards,

    Vikram

    Thursday, February 7, 2013 6:20 AM
  • I'd be happy to answer specific questions about COM Add-in development, but there's a lot of material to read and basic concepts to grasp first - I suggest you start here:

    Developing COM Add-ins for Microsoft Outlook
    http://www.outlookcode.com/article.aspx?ID=36


    Eric Legault MVP (Outlook)
    About me...
    Outlook Appins: Store Social Media fields in your Outlook Contacts!

    Thursday, February 7, 2013 2:37 PM
    Moderator