Learn how to a build a cloud-first strategyRegister Now


Inithandler issue in microeye vb6 OL addin, but only on OL2002

Posted on 2006-03-31
Medium Priority
Last Modified: 2012-05-05
I have an OL vb6 add in that works fine on OL2003, but breaks on OL2002 and (unverified) OL2000 on line 100 below (this is the microeye template):

Friend Sub InitHandler(olApp As Outlook.Application, _
                       strProgID As String)
        'Declared WithEvents
        On Error GoTo InitHandler_Err
100     Set objOutlook = olApp 'Application Object
        'Instantiate a public module-level Outlook application variable
102     Set golApp = olApp

I project is being developed on a pc with OL2003, and that is what is refereenced in the VB6 project.

Any ideas why line 100 returns an error of "Object or Class does not support the set of events"?

Question by:thePrisoner
1 Comment
LVL 35

Accepted Solution

Bembi earned 2000 total points
ID: 16352405
When you open VB in OL2002, does VB refereces to the OL2002 object library? Dependend on how you have implemented the macro, it may be, the reference is set to OL2003 object library, which is unknown in OL2002. You may have to set the reference to OL2002

More a programming issue...

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article lists the top 5 trialware OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their Exchange server is no longer available or other critical issues with Exchange server or impo…
MS Outlook undoubtedly is the most widely used email client.Its user-friendliness, cost effectiveness, and availability with Microsoft Office Suite make it the most popular email application.  Its compatibility with Microsoft applications like Exch…
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question