In VBA, we have ActivePresentation
. I want to know how can we do the same in VB.NET.
I have the following code
Dim oApp As PowerPoint.Application
Dim oPres As PowerPoint.Presentation = oApp.ActivePresentation
My question is how do we declare or use ActivePresentation in VB.NET.
Can anyone help me how we can use ActivePresentation
in VB.NET.