LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to install Microsoft PowerPoint Object Library

Solved!
Go to solution

I want to control Microsoft PowerPoint by ActiveX. But I cannot find Microsoft PowerPoint Object Library from type library. Could anybody share with me about how to install Microsoft PowerPoint Object Library?

1. Operation system: Windows 10, 64 bits

2. Labview 2021, 32bit

3. Microsoft PowerPoint 2019

 

 

DavidWei_0-1641692294959.png

 

0 Kudos
Message 1 of 5
(2,475 Views)

You can check this example code for reference

https://forums.ni.com/t5/Example-Code/Controlling-MS-PowerPoint-with-ActiveX-and-LabVIEW/ta-p/399636...

 

Since I don't have power point installed I cannot exactly find its type library.


CLD Using LabVIEW since 2013
0 Kudos
Message 2 of 5
(2,420 Views)

thanks! but your link is talking about how to use ActiveX to control Powerpoint. 

My problem is about how to install PowerPoint Object Library.

0 Kudos
Message 3 of 5
(2,415 Views)
Solution
Accepted by topic author DavidWei

The PowerPoint library file is msppt.olb. You have to add it manually.

for 32bit You can find it in Program files(x86)/Microsoft Office/Officexx.

for 64bit You can find it in Program files/Microsoft Office/Officexx.

 

In select object from library window, click on browse and go to above mentioned location and then select the file. You shall be able to see in the library list then.


CLD Using LabVIEW since 2013
0 Kudos
Message 4 of 5
(2,410 Views)

Nice! I find it!

 

DavidWei_0-1641790061464.png

 

DavidWei_1-1641790082381.png

 

0 Kudos
Message 5 of 5
(2,400 Views)