Quantcast
Channel: TX Text Control Community
Viewing all 1022 articles
Browse latest View live

[OPEN] Can't get UserDictionary to work at all

$
0
0
Hello,

I cannot get the UserDictionary to work. I am using basically the same code as in the UserDictionary sample, only I am using it with a Textcontrol instead of a richTextBox.

I've attached a sample project.

Problem #1:
#1 The as-you-type squiggly lines still underline the words I've added to the dictionary.
#2 If I invoke spell checking manually via the "CHECK SPELLING" toolstrip button included in my sample, it also does not recognize my added words.
#3 Further, if I click "Ignore Once" in the dialog presented in issue #2, I get a NullReference exception. Something strange I noticed was that the "Suggestions Dictionary" combobox was blank. See attached screenshot.


I'm trying to get this to work with TX 20 and TXSpell 4. I'm also including the binaries I'm using so there is no question there.

Please let me know what I am doing wrong. Thanks.

-Ben
Attached Files

[OPEN] Possible run two TXT versions?

$
0
0
Hello,
is it possible to run two TXT Versions in one installtion folder?

At now we use 15.0 and i check to buy TXT 20.

But we have one installation folder and all of our DLL's are in there.

The older parts of our programm must run with TXT 15 version
(i have inherited from them, and can not change and test all my implementation in there),
for new development i would develop with the TXT 20 version,
but TXT 15 must also run.

The problem is that the assembly DLL's all have the same names,
i think with the native DLL's i had no problems, they have prefix like tx15_ or tx20_.

Alternate row colors using NEXT fields

$
0
0
It is important to adjust the display of your tabular data in order to improve the readability. Reading large sets of numbers in long tables can be hard and there are easy ways to improve that. A smart way to accomplish this task are alternating row colors. Using TX Text Control's reporting engine MailMerge, you can design your table including...

More...

[SOLVED] textcontrol1 Load HTML from byte[] data

$
0
0
We use TX8 (TextControl 18)

We got HTML data as byte[] binaryData and want to load this data as html into textcontrol

textcontrol.Load offers

a) Load(byte[] binaryData, TXTextControl.BinaryStreamType binaryStreamType)
b) Load(System.IO.FileStream fileStream, TXTextControl.StreamType streamType)

Because we have byte[] binaryData we would like to use the method (a) but
TXTextControl.BinaryStreamType cannot handle HTML!

This means we must use Method (b), hence saving byte[] binaryData to the file-system first and then load it?!?!

Update: Workaround 1

Searched Stack-Overflow for Workaround of transforming the byte-array to a string: Not always recommended and useful but could be a workaround too.

Update: Workaround 2

Code:

     
TextControl  textControl1; //Visible TextControl in .NET Control

InsertBytes(textControl1, GetTxByteDataFromHtmlByteData(CallSoapWebserviceThatRespondsWithByteArray());


public byte[] CallSoapWebserviceThatRespondsWithByteArray()
{
  returns byte array (which in fact is a html page)
}


        public void InsertBytes(TextControl textControl, byte[] newValue)
        {
            textControl.Selection.Load(newValue, TXTextControl.BinaryStreamType.InternalFormat);               
        }

        private static byte[] GetTxByteDataFromHtmlByteData(byte[] byteData)
        {
            TextControl tempTextControl = new TextControl();
            string tempPath = Path.Combine(Path.GetTempPath(), Path.ChangeExtension(Guid.NewGuid().ToString(), "html"));
            File.WriteAllBytes(tempPath, byteData);
            tempTextControl.CreateControl();
            tempTextControl.Load(tempPath, StreamType.HTMLFormat);
            byte[] htmlData = null;
            tempTextControl.Save(out htmlData, BinaryStreamType.InternalFormat);
            return htmlData;
        }

[OPEN] Buttonbar Font Sizes

$
0
0
Hi,

How can I limit the font sizes that are displayed in the FontSizeComboBox of the ButtonBar? I only want to display font sizes from 6 to 12.

Thanks.

Text Control is BASTA! Spring Bronce Sponsor

$
0
0
Scott Hanselman has been announced as the keynote speaker at BASTA! Spring 2014 (February 24-28). Text Control is a Bronce sponsor of this great conference in Darmstadt, Germany. Stop by our booth, get a live demo of TX Text Control X10 and learn more about flow type layout reporting in .NET. We always look forward to BASTA! conferences as they...

More...

Inserting and printing folding marks using TX Text Control

$
0
0
Folding marks are often used on letterhead paper to indicate where to fold a letter to fit into standard envelopes. Using TX Text Control, such folding marks can be added using paragraph frames inserted into perfectly positioned text frames. Below is a screenshot of a typical letterhead paper with folding marks. Text frames can be positioned...

More...

Reporting tutorial: Repeating blocks with related sub tables

$
0
0
Creating product lists or sales reports is a common application for TX Text Control's reporting engine MailMerge. Repeating table rows, where related detail information is listed in sub tables, are typical elements of such reports. The following screenshot illustrates such a list: Creating those master-detail views is a very easy task using TX...

More...

TX Spell .NET: Ignore word list using user dictionaries

$
0
0
A unique feature of TX Spell .NET is the possibility to use multiple dictionaries at the same time for the spell checking process. This is valid for language dictionaries and user dictionaries. Based on that feature, you can realize lists with words that should be completely ignored by TX Spell .NET. Simply create an additional UserDictionary...

More...

[OPEN] Localization

$
0
0
Hello, I'm evaluating TXTextControl Express and it's a wonderful product. Everything works perfectly fine for me except localization.

I'm following the instructions detailed in this page. I have opened the TextControl.resx file and I have edited the value
IDS_IDM_LISTPARADIALOG, which is shown in the context menu when I perform a right click on a page:

Code:

<data name="IDS_IDM_LISTPARADIALOG" xml:space="preserve"><value>Viñetas y enumeraciones...</value></data>
once this is resolved I will translate the entire content.

Well, I use:

Code:

buildres.bat es
and txtextcontrol.resources.dll file is generated without problems.

I place this file in a subdirectory called "es" inside my application's folder but when running my application show the menu item corresponding to IDS_IDM_LISTPARADIALOG in English.

I've also entered the key listed in the Registry:

Code:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\StrongName\Verification\txtextcontrol.resources,6B83FE9A75CFB638]
I guess you detect the language using CultureInfo. The CultureInfo of my country is "es-AR" (maybe AR can cause this?). I have also tried without success the following before InitializeComponent():

Code:

Dim newCulture As Globalization.CultureInfo = New Globalization.CultureInfo("es-ES")
System.Threading.Thread.CurrentThread.CurrentCulture = newCulture
System.Threading.Thread.CurrentThread.CurrentUICulture = newCulture

but my app still don't use the satellite assembly. What can I do?

Thank you!

Gabriel

Vertical text in table cells

$
0
0
We have to produce vertical text (rotated by +- 90°) in table cells.

MS Word has this feature. Please implement this in TX Text Control as well!

Thanks
Felix Brückner
Normfall GmbH

Excel files as data sources using RSSBus ADO.NET Providers

$
0
0
Using the ADO.NET Data Provides from our partner company RSSBus, you can easily connect your applications to Google, QuickBooks, Salesforce.com and SAP. We fully integrated RSSBus support into TX Text Control Words, the Text Control Reporting template designer. All installed RSSBus data providers are automatically listed in the Select Data...

More...

[OPEN] Why I getting null result when trying to save the document?

$
0
0
Code:

          string rtf = "";
          _textControl.Save(out rtf, TXTextControl.StringStreamType.RichTextFormat);

Always places null in rtf, same if I try to save as html.

Is there anything should be done before saving?
I just placed control on the form, run prog, typed something in control, then trying to save it.

I must say that: _textControl.Text contains the text I typed, but I need it in rtf and html format.

I use the latest version of control 20.0 that I has downloaded yesterday

[OPEN] Table of contents in Professional Version

$
0
0
Hi there,
happy new year!
I try to implement a table of contents with TX Text Control 18.0.NET for Windows Forms Professional with this example:
http://www.textcontrol.com/en_US/dow...y/snippet/toc/
The problem is, that I can't add new ParagraphStyle like this:
http://www.textcontrol.com/en_US/blog/archive/20060927/
If I try this, than I always get a System.Exception like: "This function is not available in TX Text Control Standard and Professional Version. You need the Enterprise Version."
Is there a way to implement it without Enterprise edition.
Buying the Enterprise Version is NO OPTION for me!

Greez
spaZeman

[OPEN] Licensing Issue on IIS

$
0
0
Hello,
We are using the TXTextControl.Server.dll library under IIS and under a windows service. When running under the windows service the issue I describe below does not happen (why would it)...but I'll just say there are no problems. Our process converts items to PDF.

Whenever I deploy a build and the TXTextControl.Server is instantiated for the conversion I get the licensing error (below). If I then do IISRESET and and it works.

I then redeployed the same build. Ran IISRESET and tried to do the conversion and it fails. I then do IISRESET again and it works.

I then re deployed the same build. Tried to export and it fails. IISRESET and it works.

So, if I let it fail once and then do IISRESET it works. If I do IISRESET before I let it fail it will continue to fail. Can someone assist?

System.Exception detected Exception Thrown Converting Document Format: System.ComponentModel.LicenseException: The following control could not be licensed: TXTextControl.ServerTextControl
at ᝗.GetLicense(LicenseContext context, Type type, Object instance, Boolean allowExceptions)
at System.ComponentModel.LicenseManager.ValidateInter nalRecursive(LicenseContext context, Type type, Object instance, Boolean allowExceptions, License& license, String& licenseKey)
at System.ComponentModel.LicenseManager.Validate(Type type, Object instance)
at TXTextControl.ServerTextControl..ctor()

On page resize the scrollbars dispappers

$
0
0
I am using TextControl to display my document. when i open the page it loads correctly with scrollbars. but when i resize the page the scrollbars disappear. Can anyone help me out. i am using TextControl version 18.

Thnanks.

[OPEN] Controls not showing up

$
0
0
Hello,
I am trying to run the express version of the latest TX Text Control .NET on windows 8 using Visual Studio 2013. First I installed Visual studio, then TX Text Controls. According to the instructions, the controls should automatically show up, but that isn't happening. Is there any other steps required?

[SOLVED] Setting the SpellCheckDialog GUI language

$
0
0
Is there some way to manually specify the GUI language for the built-in SpellCheckDialog? Our application allows users to select a UI language different from the standard windows language. In the past, we used RapidSpell, which allowed us to choose the GUI language when invoking the dialog, but I can't find that option for TXSpell.


P.S. Apologies if this belonged in the TXSpell forum instead. I wasn't sure where to post it, as the SpellCheckDialog is a method of the TextControl.

[OPEN] Licenze does not work anymore if i rename assembly.

$
0
0
Hi All,
TX TextControl is working fine in a my project.

but if i simply rename the exe, license is not working anymore!
Below the Error:
System.ComponentModel.LicenseException: The following control could not be licensed: TXTextControl.TextControl

this is very annoyng since i have to deploy same .exe in two different name , but i can't'.
Could someone please help me?

Regards
Daniele

Using sub-templates in Text Control Reporting

$
0
0
Using sub-templates is a powerful feature to reuse text parts such as consistent page headers and footers, terms of business or address areas. Those parts can be modified separately without changing them in each and every template. During the merge process, the sub-templates are evaluated separately and inserted into the currently merged...

More...
Viewing all 1022 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>