M
Mark Durrenberger
Hi all, I'm seeing strange things with the Open Event and the NewProject
event
When I This happens
Open new project (from file menu) new project event fires
open old project (from file menu) new project event fires,
Open does not fire (or does not appear to fire)
double click old project new project event
fires, open does not fire
Using Project 2003, I tested this with the following code in a class:
Public WithEvents MSProject As MSProject.Application
Private Sub MSProject_Open(ByVal pj As MSProject.Project)
MsgBox "OPEN Fired", vbOKOnly
End Sub
Private Sub MSProject_NewProject(ByVal pj As MSProject.Project)
MsgBox "NewProject Fired", vbOKOnly
End Sub
Why when I open an old project (from within project) does the NewProject
event fire
and the "Open" event not ever to fire???
--
_________________________________________________________
Mark Durrenberger, PMP
Principal, Oak Associates, Inc, www.oakinc.com
"Advancing the Theory and Practice of Project Management"
________________________________________________________
The nicest thing about NOT planning is that failure
comes as a complete surprise and is not preceded by
a period of worry and depression.
- Sir John Harvey-Jones
event
When I This happens
Open new project (from file menu) new project event fires
open old project (from file menu) new project event fires,
Open does not fire (or does not appear to fire)
double click old project new project event
fires, open does not fire
Using Project 2003, I tested this with the following code in a class:
Public WithEvents MSProject As MSProject.Application
Private Sub MSProject_Open(ByVal pj As MSProject.Project)
MsgBox "OPEN Fired", vbOKOnly
End Sub
Private Sub MSProject_NewProject(ByVal pj As MSProject.Project)
MsgBox "NewProject Fired", vbOKOnly
End Sub
Why when I open an old project (from within project) does the NewProject
event fire
and the "Open" event not ever to fire???
--
_________________________________________________________
Mark Durrenberger, PMP
Principal, Oak Associates, Inc, www.oakinc.com
"Advancing the Theory and Practice of Project Management"
________________________________________________________
The nicest thing about NOT planning is that failure
comes as a complete surprise and is not preceded by
a period of worry and depression.
- Sir John Harvey-Jones