Unifosys > Unifosys Support Help Desk > Knowledgebase

Ask a question:

Using the Chart Control Within a Library(dll)


Using the Chart Control Within a Library(dll) & Then the Library Within an Application(exe)

Question: How can I use the organization chart component (Chart4.NET) in a custom library(dll), and then use that library in another project - a main application(exe) or another library(dll)?

Answer: Please follow the procedure below:

1. Use the control in a custom library, as usual

1- Add the component to the visual studio toolbox (see how it is here), and drop the component to any form or usercontrol in your CUSTOM library.

2. Use control temporarily in main project

Similarly in your MAIN project, drag and drop chart to any temporary form to add licenses.licx to the main project. Then you can remove the temporary form.

3. Use custom library in main project

Now reference your custom .dll in MAIN project; and build all to use it.
Was this article helpful? yes / no
Article details
Article ID: 20
Category: Support Questions
Date added: 4-Sep-2014
Views: 113
Rating (Votes): Article rated 3.3/5.0 (7)

<< Go back

© 2013

Powered by Help Desk Software HESK™