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
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