by The Imaging Source - Product Type: Component / ActiveX OCX / DLL
hi,
iam working on vb.net
i want some support about using of TxTextcontrol version 14.0
In my TxTextcontrol i insert some images,some tables and some text
now i want to save this content into database and retrieve it from database
my question is......"can we directly save data from txtextcontrol to database",if so can you tell how to save, in vb.net coding(iam using AdvantageDataBaseserver as DataBase)
is there any possibility to save through richtextbox(like,i save txtextcontrol to richtextbox then i save that richtextbox content to database)
but the problem is images are not saving,only text was saving
iam using the code to save in richtextbox is
TextControl1.Save(richtextbox1.rtf, TXTextControl.StreamType.RichTextFormat)
otherwise tell me what possibilities we have to save them into DataBase and Retrieve them from DataBase
Thanking you
Saroja
Reply
I am trying to save the contents of a TXTextControl to an HTML file but am having difficulty getting full support for images. I can get the image tags to appear in HTML if I insert them using ObjectInsertAsChar. However, many of our users insert images by copying and pasting them into the control. These images do not appear in the exported HTML. Is there a way for me to convert images that have been pasted in to the TXTextControl into the form they would be in had I inserted them as characters, so that they can be included in the HTML export?
Reply
While implementing the Export function in my embedded Word Processor I Found some troubles:
1) Images are not saved in .DOC and .RTF formats, I found a thread on this issue on the component forum but there is no
clear solution to the problem. I Understand that .DOC documents can be created only with some kind of image formatting
if someone can illustrate which is the correct way to proceed we can convert images before exporting them.
2) Images are saved in .PDF files but the PDF results in a single long page instead of the correct number of A4 pages.
I used the savesettings class to set correctly the page size but it seems useless.
What is necessary to do to have a PDF File made as usual? Or maybe you work only with single page documents?
sabrina
Reply
Is there any way, or workaround to be able to select a column inside a table?
Is there any sample on how to implement a visual selection (like rows and columns selection in word)
on a table inside a Tx Text control?
Reply
When I zoom in or out a Tx text control, with the instructions I found on the samples (Tx Text control Words) the window is not correctly repainted
so images and text do not appear with the right shape or disappear totally.
Is there something that has to be done besides changing the Zoom percentage to have a correct redraw of the window?
Sabrina
Reply
I have found something horrible while trying my new TX Text control (Professional .NET) bought less than a month ago.
When I want to load selecting HTML files it has just the (*.htm) option and this is stupidly absurd.
All my HTML files are named FileName.html and with such format I may need to load also ASP or ASPX files.
How can I solve this problem?
Sabrina
Reply
Hi folks,
we have some samples and interesting articles on our website regarding this issue.
Please have a look at this area:
http://www.textcontrol.com/download/code/snippet/sid/2/
Björn Meyer, TX Text Control
Reply
Hi Bjorn:
We need a word processor that has the ability to set margins in terms of the number of characters on a line. Does TX Text Control allow this? If not, how difficult would it be to implement if we purchased the source code version of the product?
Thanks for your time,
Ken Colter
wizard2277@hotmail.com
Reply
Can you provide more information on the table control. We have been using an internal Intranet application using MS DHTML Editor control Our clients require a table control that is more flexible than the current table control within the MS DHTML Editor Control.
Our clients require Word2000 table like functionality including the ability to mave column/row spans, different shade background for the top column headers/capions.
Also requires spell check functionality.
Any comments or information would be appreciated. Thanks.
Reply
RE: TX Text Control TX Text Control Support Department 06-Jun-2004 00:00:00
Sorry, I don't fully get your question. We are selling a text component. Not a table control. It can also display tables, but it is primary for text. For example it can not display nested tables or tables with merged cells.
Anyway, a spell checker is available seperately, which works together with TX TextControl.
Regards,
Meik Dankleff
TX Text Control Support Department
Reply
I'm evaluating this component for use in a Windows Forms VB .NET project, but am concerned that the trial version doesn't appear to be .NET compatible. (For example, its ScrollBars property cannot be set from the IDE.) So 2 questions:
1. Is TX Text fully .NET compatible?
2. If it is, might it accomplish the following? I need to set up some marked text fields in RTF files, save them out, then bring them back into the control at run-time so that when these fields are clicked on they can return their text back for further processing, in this case the name of a Flash movie to play in a different control on the same form. This differs from needing to hyperlink in the traditional sense. I don't want the RTF within the control to do anything other than return the (text) contents of the marked text field.
Thanks,
Rob
Reply
RE: TX Text Control support [Germany] 06-Jun-2004 00:00:00
- 1. Is TX Text fully .NET compatible?
We are currently working on a .NET component. The current version of the TX Text Control can be used within VB.NET and it is possible to build applications with it. It will be available soon.
- 2. If it is, might it accomplish the following? I need to set up some marked text fields in RTF files, save them out, then bring them back into the control at run-time so that when these fields are clicked on they can return their text back for further processing, in this case the name of a Flash movie to play in a different control on the same form. This differs from needing to hyperlink in the traditional sense. I don't want the RTF within the control to do anything other than return the (text) contents of the marked text field.
I would like to suggest to use the internal TX Text Control format for this requirement. You can insert marked text fields and save the contents in the FieldData property. These information will be stored in beneath the field which could contain the name of a flash movie.
Björn Meyer, TX Text Control
Reply
I have the need to allow my users to edit a document using a WSYWIG type editor.
The resultant document has to be stored as a XML document tree. Included in the document must be Mail-Merge type functionality. Can I achieve this using TX Text Control?
Thanks for what looks like a pretty good product.
Hennie
Reply
RE: TX Text Control support [Germany] 06-Jun-2004 00:00:00
TX Text Control Enterprise is a new XML based version of TX Text Control. It enables non-technical users to work in a typical word processor like environment, yet create valid XML documents. Many applications can benefit from using XML instead of one of the classic text formats like RTF.
Read more on textcontrol.com
Björn Meyer, TX Text Control
Reply
RE: TX Text Control bjoern [Germany] 06-Jun-2004 00:00:00
The current version of TX Text Control, V8.0, does have the mail merge functionality, but not the XML support.
However, we will keep this in mind for future versions.
Reply
I have been evaluating TX Text Control's demo and am wondering:
1. Why, if starting from a .txw file, when using File, Save As either .htm or .html, are images are not saved? There is no IMG tag if you view source either. (I used Insert, Image As Character to insert a .jpeg into a test page.)
2. Similarly, a paragraph of text in the .txw file, comes out in the .htm(l) version as one long line.
3. Can there be special headers/footers for more than just one page, e.g. the contents pages and appendices in a report may need different headers/footers too?
4. One of the help files says headers/footers have the option of automatically displaying page numbers, but the demo doesn't show how to do this. Does it automatically increment the page numbers and in which formats (e.g. Page x, Page x of y, etc)?
5. Can page margins and rulers only be set in centimetres? Is there also a dialog box to do this in the full version? Can the page margins be altered, e.g. the left margin will only go so far to the left in the demo?
6. Is it possible to File, Save As .pdf?
7. Does the "?" do anything useful in the full Pro version? ("About" info is all it does in the demo.)
In anticipation, thank you!
Reply
RE: TX Text Control bjoern [Germany] 06-Jun-2004 00:00:00
1. The image need to be inserted as character and the ImageSaveMode need to be set to 0:
TXTextControl1.ObjectInsertAsChar 0, FileName, -1, 100, 100, 0, 0
2. This is correct, but it won't make disadavantages.
3. This is not possible at the moment. For this purpose it is recommended to create more documents.
4. Have a look at this sample:
http://www.textcontrol.com/download/code/snippet/id/15/
5. Such a dialog need to be developed by yourself, but this is not that complicated. The values for the page margins need to be set in twips.
TWIPS_IN_MM = 56.7
TWIPS_IN_CM = 567
TWIPS_IN_INCH = 1440
6. Nope, this is not possible. But you can print to a file using a postscript printer driver. This is the easiest way to create a PS file.
7. The ? is just a button in a sample which is done with the TX Text Control.
Björn Meyer, TX Text Control
ReplyRE: TX Text Control Sue [United Kingdom] 07-Jun-2004 00:00:00
Your prompt response is much appreciated Bjorn.
I am happy with your answers to my points 3 to 7, but have further comments/queries now on points 1 and 2:
1. We are working with Visual C++ and I know nothing of VB, so could you explain how the ImageSaveMode will work in C++ please?
2. Having a long line of text in html means the user will have to scroll horizontally a long way, which is not pretty, so I have to disagree with you here!
Regards, Sue
ReplyRE: TX Text Control eontech [USA] 07-Jun-2004 00:00:00
A comment on the HTML
--
<P CLASS=p135 ALIGN="LEFT"><FONT CLASS="TextBlack">Build your own word processor. TX Text Control gives your application the ability to read, edit, and create documents in Microsoft Word formats including Word 2000. Supports tables, object linking and embedding, database access, bulleted and numbered lists, and more. It even supports drag and drop so you can drop text in directly from other applications. TX Text Control features advanced Internet functionality allowing you to create applications that run directly in Internet Explorer, and there is also an HTML filter included so you can support writing and reading documents in HTML.</FONT></P>
--
That's all one line. It's also the paragraph up above the forum (4 lines on my browser) -- lines will wrap when neccessary.
--Peter
Reply
Best of the best ? I don't think so.
Try to load an HTML page about 100K and you can see what I mean.
It takes very long to load.
Reply
RE: TX Text Control bjoern [Germany] 06-Jun-2004 00:00:00
What do you expect by loading such a document and which results do you get? I am able to load such a document into the TX Text Control very fast. How extensive is the document? What does the document contain? Please provide me more information about this problem.
Björn Meyer, TX Text Control
ReplyRE: RE: TX Text Control adam [United Kingdom] 11-Mar-2008 21:54:02
Our company has bought TX Control, and to be frank I love it, there are some querks, but using Delphi and the TX Control 14 Active X I have a 582k HTML page with 811k of images loading in < 300ms so what are your speed issues?
Do you need some help with the code, or are you loading in the wrong format
Adam Vernon
Reply
We are busy evaluating TX Text control for inclusion in our CBT authoring software. We havge two applications, one to author the training material, and another to display the material (Presenter). Within the presenter, we would not need any editing functionality, but would like to display the RTF in a read only "Label" type control. Is this possible with TX Text Control. Would we still use the full control, or do you have a cut-down version for display purposes only.
Thanks...
Reply
RE: TX Text Control bjoern [Germany] 06-Jun-2004 00:00:00
Hello Antony,
you can use the EditMode property of the TX Text Control. With this property you are able to set the
control to Read Only or Read and Select. To display RTF documents you can also use the Standard version of the TX Text Control.
Björn Meyer, TX Text Control
Reply
Hi guys,
We have several applications which each contain many reports implimenting VsView. The client now requires Word output which VsView cannot offer to the level we require. We could use crystal reports but have had bad experiences with it in the past and wondered if we could address the TxText control via VB6 to produce a .doc file containing the following features:
Precise positioning of text via x,y co-ordinates
Tables with invisible borders and user specified row and colum sizes with text aligned left, right, or center to create attractive layout (simular to the methods used in HTML)
Table cells which contain a raster graphic - bitmap by preference.
Fairly complex line drawn graphics which include dimensions (created by drawing arrows and precisely placing text), and several different colours.
Let me know what you think - I would love to see some .doc files which we could download to see what TxText can do!
Regards,
Chris
Reply
I am trying to evaluate demo version of this component for usability in one of my internet/intranet applications. However I cannot get my web clients to download and run the component.
I have set the CODEBASE to point to a directory on my web server containing the tx.cab, tx.inf and filelist.txt.
The client browser prompts to download the Unsigned cab. But does not display the Control after it finishes. The browser however shows the component as being installed.
Any suggestions will be helpful ..
Reply
Hello,
I need a text box control with the possibility to place a bitmap in it, but specifying coordinates of where to put it.
In brief, it should behave like a Rich text box concerning the text, but behaving a bit like a little paint program.
Am I in the right place ??
Riccardo
Reply
RE: TX Text Control support [Germany] 06-Jun-2004 00:00:00
>> I need a text box control with the possibility to place a bitmap in it, but specifying coordinates of where to put it.
>> In brief, it should behave like a Rich text box concerning the text, but behaving a bit like a little paint program.
>> Am I in the right place ??
Hello Riccardo
Thank you very much for your interest in the TX Text Control.
With the TX Text Control you have two possibilities to insert images into the document. You can insert the images using ObjectInsertAsChar which inserts the object or image at the current input position or a specific character index position.
The second possibility is to insert the images with the ObjectInsertFixed method. This method inserts an object at a specific position given in twips (twentith of a point). Using this method it is possible to place the image exactly at a specfic position.
Björn Meyer, TX Text Control
Reply
i want to run the textcontrol on my NT-Server; so when i upload a worddocument; the textcontrol read the wordfile and put it in a database... is it possible??
kind regards
maarten
Reply
RE: TX Text Control bjoern [Germany] 06-Jun-2004 00:00:00
Hi Maarten,
this is possible. We have samples on our website how to load documents from a server. We also provide here samples how to store documents in a database.
If you have more technical questions, you can also contact me here: support@textcontrol.com
Samples:
http://www.textcontrol.com/download/code/code_view.php
Reply
how can i use tx text control to convert my word documents in which i use form-fields options and bookmarks
Reply
RE: TX Text Control bjoern [Germany] 06-Jun-2004 00:00:00
The fields of MS Word are at the moment not compatible to the TX Text Control ones. Hyperlinks will be imported by the TX Text Control Word filter.
Björn Meyer, TX Text Control
Reply
Dear TX Text Support,
I'm considering purchasing the professional version of TX Text, however before I invest time in doing hands-on evaluation, I have some general questions:
(1) Can I read and write native MS-Word documents? Will MS-Word be able to tell the difference between a document created by TX Text and Word itself?
(2) How do I integrate a spell checker? Does TX Text come with a built-in spell checker, or do I have to separately purchase and integrate a spell checker from another component provider? Have you got any code samples of doing this?
(3) When converting a TX Text document to HTML, which version of HTML (v4.0?) does it support?
I look forward to hearing from you.
regards
Patrick
Reply
RE: Questions on MS-Word, spell checking, and H... bjoern [Germany] 06-Jun-2004 00:00:00
(1) Can I read and write native MS-Word documents? Will MS-Word be able to tell the difference between a document created by TX Text and Word itself?
Hello Patrick
Yes, you will be able to read MS Word documents with the Professional version of the TX Text Control. All features which are supported by the TX Text Control can be imported and exported to the Word format. I am not sure about your second question...
(2) How do I integrate a spell checker? Does TX Text come with a built-in spell checker, or do I have to separately purchase and integrate a spell checker from another component provider? Have you got any code samples of doing this?
The TX Text Control has no integrated spell checker available. We recommend the VSSpell checker from ComponentOne. Further information can be achieved here: http://www.textcontrol.com/tx/docs/vsspell.htm
(3) When converting a TX Text document to HTML, which version of HTML (v4.0?) does it support?
It is a subset of HTML 4.0. The HTML filter will only import and export the most of the TX Text Control supported features.
Just try to trial version of the TX Text Control and see the results. Thank you for your request.
Björn Meyer, TX Text Control
Reply
Publisher
Primary Category
Related Products
Related Categories