Solved

Problem With Tables and RichEdit Control in VB

Posted on 2002-07-08
6
270 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 7138598
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
ID: 7138683
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
ID: 7138839
I honestly do not know.

Anthony
0
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
LVL 2

Accepted Solution

by:
chops123 earned 200 total points
ID: 7140143
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
ID: 7991216
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
ID: 8053175
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…
Suggested Courses
Course of the Month11 days, 2 hours left to enroll

628 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