NetOfficeFw / NetOffice

🌌 Create add-ins and automation code for Microsoft Office applications.
MIT License
697 stars 143 forks source link

PowerPointApi.Application events not working #312

Closed Eraser3 closed 3 years ago

Eraser3 commented 3 years ago

I installed NetOffice.PowerPoint.Net45 version 1.7.4.11 trough the Visual Studio 2019 NuGet package manager and created a simple project. I want to know when a slideshow begins and when PowerPoint moves to the next or previous slide.

The following events do not seem to fire at all: SlideShowBeginEvent SlideShowNextSlideEvent SlideShowOnNextEvent SlideShowOnPreviousEvent

I then reverted to version 1.7.4.4. That fixed two events for me but the SlideShowOnNextEvent and SlideShowOnPreviousEvent events still didn't fire. The SlideShowNextSlideEvent event fires for when we move to the next or previous slide.

jozefizso commented 3 years ago

Hi @Eraser3, the NetOffice.PowerPoint.Net45 package and other packages on nuget under the organization "netofficedotnet" does not work in release 1.7.4.11. That's incorrect release (see #276) and you must change your project to use NetOfficeFw.PowerPoint

These packages will work correctly and they have all the latest bug fixes, including the bugs in these events in PowerPoint library (#262).

jozefizso commented 3 years ago

Please, reopen the issue if this does not solve your problem.