ProjectBeforeTaskChange stops working

B

bimki

Hi,

I have implemented ProjectBeforeTaskChange using standard way :

1)
Dim X As New Eventy

2)
Sub InitializeApp()
Set X.App = Application
End Sub

3) and than
"Eventy" Class Module

Everything works fine, but sometimes (I don't know why?) event service
stops working! Whet I run

Sub InitializeApp()
Set X.App = Application
End Sub

using F5 key, everything goes back ok.

Why Event service stops working sometimes?

Thanks for any help :)

Greetings,
Bimki
 
M

Mark Durrenberger

Do you ever

Set Eventy = Nothing

in your code? That will kill the instance of the class object...

Mark


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

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