Solved

Problem With Tables and RichEdit Control in VB

Posted on 2002-07-08
6
262 Views
Last Modified: 2008-02-01
Hi...

I am pasting a table from WORD into a RichTextBox and when the text in a cell is bigger than the top cell's size the cell does now wrap the text and the table looks like crap. Is there any way I can fix this. I also tried the dhtml control and it works fine, however it won't accept any objects liek microsoft equation Etc...

So in a few words I need to paste a table of any dimension into a RichTextBox and I need it to look exactly the same. Using VB 6
0
Comment
Question by:chebas
6 Comments
 
LVL 75

Expert Comment

by:Anthony Perkins
Comment Utility
It is by design.

Take a look at this article from MSDN (yes, I realize it says Visual Fox Pro)
PRB: Rich Text Control 6.0 Displays Word Tables Incorrectly (Q257287)
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q257287

Anthony
0
 

Author Comment

by:chebas
Comment Utility
What component should I use then, because de DHTML component works fine with tables, however it won't accept data form microsoft equation object. Or should I use a Word document directly on my VB form, because I have no Idea how to do that?
0
 
LVL 75

Expert Comment

by:Anthony Perkins
Comment Utility
I honestly do not know.

Anthony
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 2

Accepted Solution

by:
chops123 earned 200 total points
Comment Utility
chebas.. I have done this using Excel.

What happens is that,you mark your cells,copy them and then paste it in the Rich Textbox control.The copied table is gets converted into an image which you can use as you like.

If this is what you want..lemme know..Il post the way it happens.

KC
0
 
LVL 49

Expert Comment

by:DanRollins
Comment Utility
Hi chebas,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept chops123's comment(s) as an answer.

chebas, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 

Expert Comment

by:SpideyMod
Comment Utility
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now