1 only has one DCU file component. The DCU file is a compiled unit file. The author does not want to publish the source code. In general, the author must explain which version of this component is suitable for Delphi. if the version is incorrect, an error will occur during installation. It is because there is no source code that makes it inconvenient for users. That is, once the Delphi version is upgraded, this component cannot be used any more. Of course, some authors have provided several versions of DCU files, select and use as needed. The Component installation method is as follows: In the component menu, select install Component, and in the dialog box
On the "into existing package" page, click "Browse" after "Unit file name". In the displayed file dialog box, set "file type" *. dcu: Find the DCU file to be installed, press OK to return to the "into existing package" page, and then press OK to install it. Note: At this time, Delphi will prompt that dclusr40.dpk will be rebuilt. If you want to continue, OK. Here is to install the component to the dclusr40.dpk package. This package can be seen from the file name as a user-defined component package. First install it into this package. Next we will talk about the precautions. After the installation is complete, a prompt message indicating that the component has been registered and the information on the component page to which the component has been installed will appear. Go to the component panel and check whether a new component page appears, there are just installed components.
2. Only the PAS file or component with both the PAS and DCU files. This component has a PAS file, that is, the author provides the source code, which is much easier. The installation method is the same as above. You can set the file type to DCU or PAS. We recommend that you set it to PAS so that you can recompile it with your Delphi, check whether any problem occurs. After Delphi is upgraded, you can only install the PAS file so that the component can be re-compiled to adapt to the new Delphi version. Such components are worth using. Based on the experience of xinling, it is best not to use components without source code. First, there is a problem that cannot be used after the upgrade of the Delphi version, in addition, when a program encounters a problem, the user cannot debug the component to determine whether the component contains a BUG.
3. component packages with dpk files. A component package with a dpk file generally consists of multiple components. That is to say, multiple components will be available after installation. If only one component author is generally not made into a DPK file, use the above method to publish. For such a package, there will generally be a detailed installation instruction file, as mentioned above RXLIB, due to the complex components and the installation sequence, the author does not provide installation instructions that users cannot install correctly. If there is no installation instruction File, use the following method to install it: Under the File menu, select "OPEN ..." Open the dpk file (select *. dpk in the file type list box). In the displayed Package window, the Install button is displayed on the toolbar. Click this button to Install the dpk. If the Install button is invalid, Compile it by pressing the Compile button. Generally, the Install button is valid after compilation, and then press the Install button.
4. component packages with Bpl files. Generally, this is a component package composed of multiple components. It is actually a dynamic connection library file (DLL ). To install this package, select "install packages" under the component menu, click the Add button, and find the corresponding bpl file in the open file dialog box, click OK.
5. Install ActiveX controls. To install such a configuration, register it with regsvr32.exe and select Import ActiveX Control from the Component menu. In the window opened by Import ActiveX Control, only registered ActiveX controls appear in the list. Select one and click the Install button to Install the Control. If regsvr32.exe is not used for registration, you can click the ADD button to find the OCX file for real-time registration, and then install it.
========================================================== ======================================
Basic installation
1. For a single control, Componet --> install component... --> PAS or DCU file --> install;
2. For control packages with *. dpk files, choose File --> Open (select *. dpk from the drop-down list box) --> install;
3. For control Packages with *. bpl files, Install Packages --> Add --> bpl file name;
For example:
There is no TserverSocket control in delphi7. Which package can be installed?
In delphi7, there are still Tclientsocket and Tserversocket.
Use component-> install packages...-> add-> delphi7 \ bin \ dclsockets70.bpl-> OK.
You can add it.
4. If the above Install button is invalid, try the Compile button;
5. run time lib is used together with runtimepackes under packages under option.
If the prompt file cannot be found during compilation, the installation directory of the control is not in the Lib directory of Delphi. There are two solutions:
1. The uninstalled source file is exported to the Lib directory of Delphi;
2. Add the control source code path to the Lib directory of Delphi in Tools --> Environment Options.
Note: whether the installed control is compatible with your Delphi version.
RxLib Installation
First, uninstall the earlier versions of Rxlib In the IDE of Delphi 5 and delete RXCTL5.BPL, RXDB5.BPL, RXBDE5.BPL, DCLRX5.BPL, DCLRXDB5.BPL, and DCLRXBD5.BPL.
Open the Rx running Package RXCTL5.DPK, press the Compile button in the Package window to Compile RXCTL5.DPK, and then Compile the other two running packages RXDB5.DPK and RXBDE5.DPK in the same way, put the compiled three BPL files in the search path, such as WINDOWS \ SYSTEM.
After compiling the run package, you must install the RX design package in the IDE environment.
Open the design phase Package DCLRX5.DPK of Rx, Compile it in the Package window by pressing the Compile button, and then register the design phase Package to the component panel by pressing the Install button. Install DCLRXDB5.DPK and DCLRXBD5.DPK in the same way.
Note: Do not save package resources (package sources) in Delphi IDE )!
Help File Installation
Click the Customize menu item under the Help menu in Delphi. The OpenHelp dialog box is displayed. On the Index page, open the Add Files menu under the Edit menu and Add the Help menu you want to Add, in this way, you can use the help file in Delphi IDE.
Control Deletion
Delete the Packages in Component/Install Packages.
Select Component/configure Palette...
There are two regions: pages and components.
Double-click the components area and select the control to be deleted. The Delete button is available below.
However, the controls provided by the system can only be Hide and cannot be deleted.
Open the control package file (*. dpk), delete the control file, and re-compile the package.
If the entire control package is to be deleted, project-> Option-> Packages, delete the packages, That wocould be OK ~