bugs >> Rich Text Edit OCX in VB6 problems

by Robert » Fri, 02 Mar 2007 17:13:45 GMT

Hi y'all,

I'm having two problems when using the Rich Text Edit OCX in VB6 SP6:


1) When I scroll down text using my mouse wheel, if I then click on
the text, the control scrolls back to the last position the caret was
on.

2) When I load some RTF text and use the .UPTO function, if the file
I
loaded contains tables, the control hangs.

Can anyone help?


Thanks,

Robert Steiner
XXXX@XXXXX.COM



Similar Threads

1. Rich Text Edit OCX in VB6 problems - Visual Basic/VB

2. Rich text OCX problems in VB6

Hi y'all,

I'm having two problems when using the Rich Text Edit OCX in VB6 SP6:


1) When I scroll down text using my mouse wheel, if I then click on
the text, the control scrolls back to the last position the caret was
on.

2) When I load some RTF text and use the .UPTO function, if the file
I
loaded contains tables, the control hangs.

Can anyone help?


Thanks,

Robert Steiner
 XXXX@XXXXX.COM 

3. Rich text OCX problems in VB&

4. Printing Rich Text from Rich Text Box v6.0

This is supposed to work but it doesn't:

RichTextBox.SelPrint (Printer.hDC)

Yes, I've initialized the printer.  Yes, I've experimented 
with selecting none, all and some of the rich text.  Yes, 
I've made a simple experimental program to see if the 
problem was coming from elsewhere.

As soon as the command to print the rich text executes it 
creates a printer error that crashes SPOOLSV.EXE requiring 
a reboot to get the printers back.  I've tried this to 
different printers (parallel & USB) and while the sequence 
of errors is a bit different, all wind up with the same 
final result of crashing SPOOLSV.EXE

No problem printing the "plain" text from the rich text 
box--no problem printing the rich text encoding (.textRTF)-
-no problem printing anything else by other methods to the 
4 different printers on this system.

Printer to be used for this function is an HP Laserjet 
(parallel connection).  Other sections of my program have 
no problem controlling the printer to include duplexing, 
text justification, envelopes, etc.

It seems senseless for me to have to write code to print 
actual rich text coding when the function is supposed to 
be built-in!!!!!

No, I don't want to output this to Word.  It is for form 
letters in my database (NOT a commercial database--I don't 
like them as their verification and security are 
lacking).  I have no problem printing the letterhead (text 
& graphics) portion of the letter through other means--I 
just want the Rich Text to print like it is supposed to 
print!

EXTREMELY FRUSTRATED.

Thanks!!!


5. Rich Text box in an ocx - Visual Basic/VB

6. VB6 Rich Text box works in 2000 but not ME or 98

Hi,

I have a VB6 (SP5) application written and compiled in windows 2000,
where everything works fine, but after it has been installed on
Windows ME or Windows 98, then the rich text is displayed with all
it's formatting characters as if it was just displaying the raw rtf
text.

I have tried taking copies of riched20.dll, riched32.dll, richtx32.dll
from the 2000 machine and replacing them all on the ME machine in the
windows/system folder.  I have also placed the files in the
application directory and re-registered the ocx, but the problem still
persists.

Has anyone had this problem, and managed to solve it?

Regards
Craig

7. VB6 Rich Textbox control (vertical alignment of text) - Visual Basic/VB

8. VB6: Rich Text/HTML Control to Use?

We want to add a text control to our VB6 app which allows fairly simple
formatting options such as Bold and Underline.  Is the MS Rich Textbox
control probably our best option here?  We were thinking of maybe creating
the text in *.htm files and just retrieving these files from the file sytem
when needed, but it doens't look like the MS Rich Textbox even does this.
Any suggestions?