Resolve the swflash. ocx control to a document named pas, encapsulate the file in a package named Delphi ActiveX, and then install it.
1. Select component-import component from the menu bar in the Delphi box.
2. delphi2010 select import ActiveX control in the pop-up dialog box, install flash and click Next.
3. In the pop-up control list, find Shockwave Flash and click Next.
4. Check Delphi Excel and then pop up the class name about the control you imported. The file directory and the name of the tool bar after installation (palette page) Delphi format.
5. The Wizard will remind you that the control will be parsed and created into a unit. Click Finish.
6. ActiveX will automatically open the unit file named shockwaveflashobjects_tlb. http://www.toot365.com/biancheng/delphi/2015111228401.htmlis the statement for this control.
7. Package the file into an ActiveX package, and then install the package to complete the scratch loading.
First, select File-New-package-Delphi for win32.
8. I don't know about delphi2010. In the object browser on the right, right-click the new package1.bpl package in the Delphi box and choose add, add shockwaveflashobjects_tlb to this package. In fact, the Delphi POS is used.
9. In the pop-up dialog box, select the shockwaveflashobjects_tlb.pas file in the unit file name. This file is generally in the Delphi format installation directory.
10. Click OK to load the shockwaveflashobjects_tlb.pas file to the package.
11. In the Object Browser, Delphi right-click the package file and select install to complete the installation of the entire control.
12. Create a form and Delphi excel will be able to see the shockwaveflash control in the ActiveX bar on the right.