Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > Pro VB.NET 2002/2003
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old September 14th, 2004, 11:50 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts
Default 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
Reply With Quote
  #2 (permalink)  
Old October 26th, 2004, 01:50 PM
Registered User
 
Join Date: Oct 2004
Location: , VA, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.

Reply With Quote
  #3 (permalink)  
Old October 27th, 2004, 10:58 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts
Default

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
Reply With Quote
  #4 (permalink)  
Old October 27th, 2004, 06:23 PM
Registered User
 
Join Date: Oct 2004
Location: , VA, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.

Reply With Quote
  #5 (permalink)  
Old July 25th, 2007, 03:49 AM
Registered User
 
Join Date: Jul 2007
Location: asmara, , Eritria.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #6 (permalink)  
Old July 26th, 2007, 02:41 PM
Friend of Wrox
 
Join Date: Nov 2004
Location: Port Orchard, WA, USA.
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

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. “cant”, “... application.but i ...” v. “... application. But I ...”)
Reply With Quote
  #7 (permalink)  
Old July 31st, 2007, 12:59 AM
Registered User
 
Join Date: Jul 2007
Location: asmara, , Eritria.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #8 (permalink)  
Old August 1st, 2007, 04:43 PM
Friend of Wrox
 
Join Date: Nov 2004
Location: Port Orchard, WA, USA.
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

What part did n't work?
Could you tell me——step-by-step——what you did, and the results you got?
Reply With Quote
  #9 (permalink)  
Old August 8th, 2007, 03:07 AM
Registered User
 
Join Date: Jul 2007
Location: asmara, , Eritria.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #10 (permalink)  
Old September 23rd, 2010, 01:33 PM
Registered User
 
Join Date: Sep 2010
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default 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...?

eusebiosantana@hotmail.com

Thanks
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating tables on the fly Keith Smith Access VBA 1 January 15th, 2008 09:49 AM
creating tables within tables in access??? carswelljr Access 3 August 23rd, 2006 01:21 PM
Help creating tables racin_vegas PHP How-To 1 January 19th, 2006 08:11 AM
Creating word tables, PLEASE help :D Cadey VB How-To 1 December 1st, 2003 07:31 AM
Creating Tables Programmatically stu9820 ASP.NET 1.0 and 1.1 Basics 10 October 22nd, 2003 04:25 PM



All times are GMT -4. The time now is 12:18 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.