Where have all the events gone?

Add-in Express™ Support Service
That's what is more important than anything else

Where have all the events gone?
Some Office 2000 events do not appear to fire. 
Drew Heald




Posts: 9
Joined: 2006-07-14
I am writing an add-in for several Office2000 apps using ADX and have come across the following behaviour:

Word: DocumentBeforeSave, DocumentOpen events fire
Excel: WorkbookBeforeSave, WorkbookOpen events fire
PowerPoint: PresentationBeforeSave, AfterPresentationOpen events don't fire
Visio: DocumentBeforeSave, DocumentOpened events don't fire

I have used the ADX events classes in identical fashion for each of these Office apps. Word and Excel work, PowerPoint and Visio don't.

Can anyone suggest an explanation or workaround?

Drew.
Posted 21 Jul, 2006 06:47:29 Top
Sergey Grischenko


Add-in Express team


Posts: 7230
Joined: 2004-07-05
Drew, these events don't work because they are not supported in the PowerPoint 2000 and Visio 2000 object models.
Posted 21 Jul, 2006 13:38:34 Top
Drew Heald




Posts: 9
Joined: 2006-07-14
Hi Sergey,

I figured as much from working with my previous (non-ADX) add-in. I just didn't know whether you guys had been able to do anything about it.

Strange that MS overlooked these, no?

Drew.
Posted 24 Jul, 2006 05:10:56 Top
Sergey Grischenko


Add-in Express team


Posts: 7230
Joined: 2004-07-05
Hi Drew.

Yes, I agree with you. I hope that a new Office version will be more friendly for Office programmers.
Posted 24 Jul, 2006 08:59:09 Top