I have a COM ADD-in to the MS Outlook 2003 and it needs to run on Windows XP English and Brazilian version. It works fine on English version but not on Brazilian.
Following is the code.
' m_OutlookCmdBars is declared and initializes as
1. Dim m_toolbar As Office.CommandBar
2. Set m_toolbar = m_OutlookCmdBars("Standard")
The code at line# 2 works fine in Windows XP English version.
But it doesn't work on Windows XP running Portugese/Brazilian version.
It throws the following error
Invalid Procedure call or argument.
Any help ?
TIA
Following is the code.
' m_OutlookCmdBars is declared and initializes as
1. Dim m_toolbar As Office.CommandBar
2. Set m_toolbar = m_OutlookCmdBars("Standard")
The code at line# 2 works fine in Windows XP English version.
But it doesn't work on Windows XP running Portugese/Brazilian version.
It throws the following error
Invalid Procedure call or argument.
Any help ?
TIA