 |
| Pro VB.NET 2002/2003 For advanced Visual Basic coders working .NET version 2002/2003. Beginning-level questions will be redirected to other forums, including Beginning VB.NET. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Pro VB.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

September 14th, 2004, 11:50 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts
|
|
Creating Tables in RichTextBox
Does anybody know how to create a table in a RichTextBox? I am sure it can be done because I can copy and paste it from Word. I have looked all over for this and can't find anything.
Thanks.
J
|
|

October 26th, 2004, 01:50 PM
|
|
Registered User
|
|
Join Date: Oct 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Were you ever able to figure this out? I'm working on a project where I need to do the same thing. Thanks for any help.
|
|

October 27th, 2004, 10:58 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts
|
|
I have been able to get the table to appear, but I still don't understand enough about the markup to make a decent table.
I add the table and place the cursor in one of the columns, but when I type it just overwrites the column and doesn't autoexpand like it does in Word.
I think it has something to do with the length of the column in relation to the characters placed in it. But, like I said, I don't know enough about RichText markup to achieve it. At this point, I am working on other aspects of the project where I wanted this feature and thought I would come back to it when I have time.
If you come up with anything, I would be very interested in hearing how you did it.
J
|
|

October 27th, 2004, 06:23 PM
|
|
Registered User
|
|
Join Date: Oct 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks for the reply. If I figure anything out I'll definitely let you know. I've got a couple of people that may be able to help me. I'm keeping my fingers crossed.
|
|

July 25th, 2007, 03:49 AM
|
|
Registered User
|
|
Join Date: Jul 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
hello
i have the same problem. i want to add table capability to my word processor application.but i cant. could u help if u solved the problem.
i am using VB.net 2003.
thanks
mahfuz
dinish
|
|

July 26th, 2007, 02:41 PM
|
|
Friend of Wrox
|
|
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
|
|
Eritria... wow.
I would try this. Create the table you want in Word (or any other word processor capable of outputting in .rtf format).
Then save the document as .rtf. Open it in a text-based program like Notepad, and observe the RTF formatting that creates the table-type you are after.
A note on readability:
It is commonplace to not use capitalization in chat rooms, but it is an inferior way to communicate in more professional fora. I suggest that you get in the habit of using proper capitalization and punctuation (âcantâ v. âcanâtâ, â... application.but i ...â v. â... application. But I ...â)
|
|

July 31st, 2007, 12:59 AM
|
|
Registered User
|
|
Join Date: Jul 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hello BrianWren
Thank you for your quick replay and for the your concern. I tried to do what you said but I cant figure it out. So if you can do it please try to let me notified.
Thanks
Mahfuz
dinish
|
|

August 1st, 2007, 04:43 PM
|
|
Friend of Wrox
|
|
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
|
|
What part did n't work?
Could you tell meââstep-by-stepââwhat you did, and the results you got?
|
|

August 8th, 2007, 03:07 AM
|
|
Registered User
|
|
Join Date: Jul 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
hello
I tried to copy a table from word to my rtf file and it appears in the document. But you see the problem when the text written in the cell of a table in rtf exceeds the border of the cell.
Did you notice that kind of problem?
mahfuz
dinish
|
|

September 23rd, 2010, 01:33 PM
|
|
Registered User
|
|
Join Date: Sep 2010
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
RICHTEXTBOX and DATABASE
I have the same problem.
I want to save the content of a RICHTEXTBOX INTO A DATABASE and I cant.
I've bought a lot of books trying to get it, but with any avail.
If you find the way to do it, will you please tell me how...?
[email protected]
Thanks
|
|
 |