Posted 14 February 2021, 4:02 pm EST
Hello Victor,
For me to be able to assist you, kindly answer a few questions:
- In the “C:\Program Files (x86)\ComponentOne\WinForms Edition\bin\v4.5.2” directory, are the ComponentOne dlls present?
- Add Reference to the C1.Win.C1Report.4.5.2.dll from the above-mentioned location manually.
2.1. Expand the References node in the solution explorer.
2.2 Replace the existing C1 assemblies with the corresponding assemblies at the above-mentioned location.
[ To replace the assemblies follow these steps:
a. Delete the existing assembly from the project.
b. Right-click on the References node and click on ‘Add References’.
c. In Reference Manager, Click on the Browse button. And, browse to the above-mentioned default location of assemblies.
d. Select the assemblies and add. ]
2.3 Close all the Form designers of the project.
2.4 Clean and Rebuild the solution.
This should resolve the errors in your application related to the missing references.
- Add ComponentOne controls to the toolbox as follows:
3.1 Right-click in the Toolbox. Select “Add Tab”. Give a name to the tab.
3.2 Right-click in that tab, select “Choose Items”. “Choose Toolbox Items” dialog appears.
3.3 Click on Browse. Move to the location of the default assemblies.
3.4 Select the C1.Win.C1Report.4.5.2.dll, controls related to which you wish to add to the Toolbox. Click Open.
3.5 Finally, click OK in the “Choose Toolbox Items” dialog.
This should make the controls available in the Toolbox. Likewise, you can do it for other assemblies.
If you need any other help, please let us know.
Regards,
Prabhat Sharma.