Visual Basic Online Course The following control could not be licensed: TxTextControl.TextControl
The following control could not be licensed: TxTextControl.TextControl
Tx TxtControl, powerful tool for VB2010 that enhances Word Processing Integrations |
How to compile a specific license (*.licx) file to your Visual Basic 2010 project for example the [Tx TxtControl] Object. Tx TxtControl is an evaluation product and can be downloaded from here, unless you register the product with a standard license, it will not work properly with Visual Basic 2010.
Tx TxtControl is a Visual Basic .Net powerful tool that enable you to create a Word Processing Integration form to enable the user to take notes and save it and retrieve it. With Tx TxtControl you can do the following :
- Integrate comprehensive word processing into your Windows applications
- Load, edit and save Microsoft Word formats (DOCX, DOC, RTF etc.)
- Build powerful reporting and mail merge applications
- Load, edit and create Adobe PDF documents
- Completely royalty-free
The problem is that the Eval. Version pops up a message in the IDE and the Run-Time and generate an error message :
The following control could not be licensed: TXTextControl.TextControl
Tx TxtControl License Problem in Visual Basic .Net (VB2010) |
To solve the Tx TxtControl license problem, you need to do the following :
1) Add Reference to Tx TxtControl in your Visual Basic 2010 Project
Add Reference to Tx TxtControl in Your VB2010 project |
2) A 'licenses.licx' file must exist in the 'My Project' folder. To build such a file,
create a new text file in this folder and name it 'licenses.licx'. Open
the file and add the following string:
TXTextControl.TextControl, TXTextControl, Version=13.0.500.500, Culture=neutral, PublicKeyToken=6b83fe9a75cfb638
The
'licenses.licx' file is not a TX Text Control specific file, but a
Visual Studio file that is used by 'lc.exe' (which is part of the .NET
SDK) to compile the licenses into the assembly. These above steps are
done automatically, if you drag and drop a TextControl from the toolbox
onto a form.
The above line that refers to the License will vary from version to another. To find the proper License file for the existing Tx TxtControl Version for VB.Net WinForms :
- Go to the C:\ drive and locate the installation folder for Tx TxtControl
- You will find the License for the current version most likely here :C:\Users\User_Name\Documents\TX Text Control 19.0.NET for Windows Forms\Samples\WinForms\VB.NET\TX Text Control Words\My Project
- You will find the License.Licx file placed there
- Open it, copy the contents
- Open your Visual Basic 2010 Project. Folder [My Project] add *.txt file and call it License.Licx if it is not already there and paste the previous copied lines
- [If you found License.Licx there already, just open it with NotePad and add the following to the end of it]
- Save all you work, Build Solution for your Project.
♥ Here are some online Visual Basic lessons and courses :
- Visual Basic .Net snippets collection
- Visual Basic .Net - How to check for the internet connection
- Visual Basic .Net - POP3 and Receiving E-mails
- Visual Basic .Net - Generate Random Combinations
- Visual Basic .Net - Play sounds on Button Click or Mouse Hover
- Visual Basic .Net - Progressbar control
- Visual Basic .Net Solution - The application failed to initialize
- Visual Basic .Net - Working with Database full example
- Visual Basic .Net - There is already an open DataReader associated
- Visual Basic .Net - SyBase Advantage Database [Add, Edit, Search, Delete and DataGridView]
- Visual Basic .Net - Fade Image
- Visual Basic .Net - Free POS System Project Source Code