Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a legacy app that I am supporting (VB6).
I am using the standard Richtext control from VB6.

When copying and pasting from Word / Excel on my two Dev machines, it works perfectly - all formatting comes across 100%

When I do the exact same on user's machines, the text pastes, but a lot of the formatting is lost. i.e the table spacing is kept, but the actual table (borders etc) is lost

What I have tried:

I have checked and both Dev and user and both have the same richtx32.ocx registered. My understanding is that this ocx file is the component controlling the richtext control.


I have even uninstalled and reinstalled, but still to no avail
Posted
Updated 4-Dec-17 23:26pm
Comments
Richard Deeming 6-Nov-17 15:29pm    
Are they running exactly the same version of Word, with exactly the same settings?

1 solution

Okay, so I eventually got this right...

I found that there was an additional file (riched32.dll) on the not working machines' folder. (That wasn't on the working machines. If I deleted this file, the installer automatically added them).

What I landed up doing was creating a new installer with the dll files required. Once I had installed from this installer I had to register the files and it worked!!!

One of those weird ones...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900