4

I have inherited an Outlook 2003 COM add-in written using VB6 (note: NOT VB.NET).

I need to upgrade this to work with Outlook 2010. Is it possible to create an add-in for Outlook 2010 using VB6, or do I need to re-implement everything?

Gary McGill
  • 26,400
  • 25
  • 118
  • 202

2 Answers2

6

2003 COM Addins will work mostly fine in Outlook 2010. Some relevant details:

  • Practically all the old COM events will still work like a charm, however

  • Interface modifications will no longer work as expected. The Outlook 2010 ribbon interface either ignores them or pushes them into a separate 'addins' tab.

  • Your 2003 COM AddIn simply will not work in 64 bits Outlook. Not that many people use the 64bits Office suite, but still.

Paul-Jan
  • 16,746
  • 1
  • 63
  • 95
  • You're right - I just got it working - no code changes required, although I had to manually add a missing DLL. – Gary McGill Aug 12 '11 at 16:51
  • Cool. Care to share which one? Or was it just related to the specific project? – Paul-Jan Aug 12 '11 at 18:55
  • 1
    it was MSSTDFMT.DLL, which is used by some VB6 controls used by the project for its "options" dialog. I was installing on a Windows 7 machine that didn't have it. – Gary McGill Aug 13 '11 at 10:16
3

I haven't explicitly tested this, but Outlook 2010 still uses the COM addin model so the VB6 addin should still be fine. You may still need to make a few changes for the version change as normal, but no rewrite is needed.

Deanna
  • 23,876
  • 7
  • 71
  • 156