Visual Basic: MySQL Database in Journal

Hello

How do I implement a MySQL database in a NX Journal? Do I have to use a compiler like Visual Studio, download the Connector for .Net and create a .dll? Or do I even have to use the licenced editor of Siemens?
By the way, can a .dll compiled with Visual Studio be implemented as a Button in NX?

After that i can just import it with this import, right?Imports MySql.Data.MySqlClient

Thank you and Regards

An uncompiled journal only has access to certain .net functionality (mostly what you find in the System namespace). If you need to link other libraries to your code, you will need an author license from Siemens and the code will need to be compiled before running.

A custom button can be created for your .dll file. The article below shows how to create a button for a journal; the steps for a .dll are largely the same, but you will pick "NX Open" as the button action type. Use the browse button to find your .dll and enter any arguments necessary.
http://nxjournaling.com/content/start-journal-custom-button

Alternately, you can use MenuScript to create buttons and other UI elements. Consult the MenuScript help file for details.