PDA

View Full Version : Using textcontrol with C#


Unregistered
October 29, 2002, 23:37:53
Hi,

I am (finally!) updating our VB Application to C#. The TextControl (V9 SP1) used by our application can be added to a Windows Form, but on displaying the form, the following error message is displayed:

Das ActiveX-Steuerelement '3d6d5d2f-b9f2-101c-aed5-00608cf525a5' konnte nicht instantiiert werden, da der aktuelle Thread kein Singlethread-Apartment ist.

I understand that there will be a Textcontrol.NET by the end of November, but my schedule tells me this is too late...

Is there a possibility for me to obtain a TX.NET beta so that I can continue working until the release, or is there a workaround?

Regards,
Alexander Reifinger


This message was originally posted by Alexander Reifinger in the old TX Text Control Support Forum.

Meik Dankleff
October 31, 2002, 18:55:58
Actually, we didn't encounter that problem when we tested the OCX in .NET. I just created a blank C# project and pressed CTRL+T to let the components dialog pop up. I inserted TX and placed it on the empty. I hit F5 and the form pops up with the TX on it....


This message was originally posted by Meik Dankleff in the old TX Text Control Support Forum.