See TX Text Control ActiveX Server running live on WWW server
We have set up a new web site that is primarily intended to showcase TX Text Control ActiveX Server. Currently, it offers seven demonstration applications in which TX Text Control ActiveX is called to perform various word processing tasks and to create dynamic PDF files server-side. Take a look at:
If you would like to test TX Text Control ActiveX Sever on your own Microsoft Internet Information Server, please apply for a beta version. The beta version is the full retail version, not an evaluation version. To request the beta, please fill out the following form, print and fax it back to us. We will then dispatch the beta version to you immediately.
How to encapsulate TX Text Control .NET for Windows Forms in a DLL
When working on large software projects, you often wish to encapsulate parts of your project. For example, if your application requires a text editor, it would be a good idea to encapsulate all word processing functionality into a separate DLL. Doing so can assist you in building modular, structured software.
In this newsletter, we are going to show you how to include TX Text Control in a .NET DLL.
Visual Basic 6.0 has an automatic technique which transfers the license from the EXE to the UserControl or DLL. Visual Studio .NET does not have this functionality and thus the license of the used .NET component should be included in the EXE itself. For this reason, we include the following information in the "licenses.licx" file of your main application project.
For version 10.1 SP1 you have to insert:
TXTextControl.TextControl, TXTextControl, Version=10.1.200.500, Culture=neutral,_
Using this information, TX Text Control's license will be included in the EXE of the main application.
When a TX Text Control based class is created from a DLL, the license information from the EXE is passed to the DLL class. Consider again the above code snippet.
The secret in our sample is to create a very basic DLL project that uses TX Text Control on a form. This sample project has got one public function that creates a form with TX Text Control.
public class Class1
// TODO: Add constructor logic here
public void ShowTXForm()
TXHostForm myForm = new TXHostForm();
The main project uses the DLL to display a form containing TX Text Control when ShowTXForm() is called.
private void button1_Click(object sender, System.EventArgs e)
TXHOST.Class1 myDLLClass = new TXHOST.Class1();
The Newsletter Team