Project 2000 Project Object not receiving Activate Event

L

Louis

Hello,

I am not getting events on the project object in a VB6 COM Add-in for Project 2000. I have an object declared

Private WithEvents appProject As Projec

In the OnConnection function I set the object the object wit

Set appProject = Application.ActiveProjec

And then I have two events

Private Sub appProject_Activate(ByVal pj As MSProject.Project
MsgBox "Test Activate
End Su

Private Sub appProject_Open(ByVal pj As MSProject.Project
MsgBox "Test Open
End Su

However, these events never get called

I have other events getting called for a command bar button items and I tested calling NewProject on the application object without any difficulty. I just don’t understand why my project events are not getting called

Thanks
Loui
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top