Solved

Problem With Tables and RichEdit Control in VB

Posted on 2002-07-08
6
263 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
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Determine Range to Select 5 42
VBA filters 2 50
vb6, excel Run-time error 1004 method 'close' of object 'workbooks' failed 7 43
VB6 ListBox Question 4 32
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

910 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

22 Experts available now in Live!

Get 1:1 Help Now