R
Ricardo Pereira
Hi everybody!
I am developing a COM AddIn in Visual Basic 6.0 for Outlook 2000 which
is supposed to work in Outlook 2000 with the Windows 2000 operating
system.
The main thing that the AddIn does is to create a button
(Office.CommandBarButton) in the email reading window (on its
Inspector) and do some work when that button is clicked.
The problem is: the Addin works fine in Outlook 2000, under Windows
XP, but it doesn't work at all in Outlook 2000 under Windows 2000!
Under Win 2000, although the COM AddIn can be seen registered on the
COM AddIns dialog box, in Outlook 2000, the button never shows up.
I have tried it in all these different situations:
- compiling the dll and registering it straight from Visual Studio
(under Win XP): it works.
- using the setup package, created with the Package and Development
Wizard, creating it under Win XP: works when installed in Win XP but
doesn't work when installed in Win 2000.
- compiling the dll and registering it straight from Visual Studio
(under Win 2000): it doesn't work.
- using the setup package, created with the Package and Development
Wizard, creating it under Win 2000: doesn't work when installed in Win
2000 and also doesn't work when installed in Win XP.
The references I am using in this VB project are:
- Visual Basic for Applications (msvbvm60.dll)
- Visual Basic runtime objects and procedures (msvbvm60.dll\3)
- Visual Basic objects and procedures (VB6.OLB)
- OLE Automation (stdole2.tlb)
- Microsoft Add-In Designer (MSADDNDR.DLL)
- Microsoft Outlook 9.0 Object Library (MSOUTL9.OLB)
- Microsoft Office 9.0 Object Library (MSO9.DLL)
- Microsoft CDO 1.21 Library (CDO.DLL)
- Microsoft Scripting Runtime (scrrun.dll)
All the above system files that are needed to be referenced are found
both in Windows 2000 and XP, so I really don't understand why it is
working in Outlook 2000, under Windos XP, but not in outlook 2000
under Windows 2000. It also works in Outlook XP, under Windows XP.
Note, I am using:
- the Outlook COM AddIn template, by MicroEye.
- Windows 2000 Professional and Windows XP Professional.
- Microsoft Visual Studio 6.0, with Service Pack 4 installed.
Thanks in advance, for all your help.
I am developing a COM AddIn in Visual Basic 6.0 for Outlook 2000 which
is supposed to work in Outlook 2000 with the Windows 2000 operating
system.
The main thing that the AddIn does is to create a button
(Office.CommandBarButton) in the email reading window (on its
Inspector) and do some work when that button is clicked.
The problem is: the Addin works fine in Outlook 2000, under Windows
XP, but it doesn't work at all in Outlook 2000 under Windows 2000!
Under Win 2000, although the COM AddIn can be seen registered on the
COM AddIns dialog box, in Outlook 2000, the button never shows up.
I have tried it in all these different situations:
- compiling the dll and registering it straight from Visual Studio
(under Win XP): it works.
- using the setup package, created with the Package and Development
Wizard, creating it under Win XP: works when installed in Win XP but
doesn't work when installed in Win 2000.
- compiling the dll and registering it straight from Visual Studio
(under Win 2000): it doesn't work.
- using the setup package, created with the Package and Development
Wizard, creating it under Win 2000: doesn't work when installed in Win
2000 and also doesn't work when installed in Win XP.
The references I am using in this VB project are:
- Visual Basic for Applications (msvbvm60.dll)
- Visual Basic runtime objects and procedures (msvbvm60.dll\3)
- Visual Basic objects and procedures (VB6.OLB)
- OLE Automation (stdole2.tlb)
- Microsoft Add-In Designer (MSADDNDR.DLL)
- Microsoft Outlook 9.0 Object Library (MSOUTL9.OLB)
- Microsoft Office 9.0 Object Library (MSO9.DLL)
- Microsoft CDO 1.21 Library (CDO.DLL)
- Microsoft Scripting Runtime (scrrun.dll)
All the above system files that are needed to be referenced are found
both in Windows 2000 and XP, so I really don't understand why it is
working in Outlook 2000, under Windos XP, but not in outlook 2000
under Windows 2000. It also works in Outlook XP, under Windows XP.
Note, I am using:
- the Outlook COM AddIn template, by MicroEye.
- Windows 2000 Professional and Windows XP Professional.
- Microsoft Visual Studio 6.0, with Service Pack 4 installed.
Thanks in advance, for all your help.