Results 1 to 12 of 12

Thread: [RESOLVED] How to find character number in a Rich Text Box

Threaded View

  1. #11
    PowerPoster Code Doc's Avatar
    Join Date
    Mar 2007
    Location
    Omaha, Nebraska
    Posts
    2,354

    Re: [RESOLVED] How to find character number in a Rich Text Box

    Camoore said, "The Rich Text Box seems to be a powerful and essential tool in interfacing between a VB6 program and other file types. Yet in all the good VB6 textbooks I have, very little space is allocated to it, if any! The SELSTART property solved my immediate problem (thanks) but I wonder where is to be found a really thorough description of what the RTBox can do?"
    -----------------
    It is truly sad that Microsoft discontinued to support enhancements to the VB Rich Text Box control years ago. So, a thorough description of what the RTBox can do is going to be almost impossible to find, and if you find one, it will likely be out of date.

    I have worked with RTF files for years, but the only way that I could truly extract from them their most powerful assets was to abandon the VB6 RTF control and use a 3rd-party control. Regardless, even that control was still somewhat limited in what it could do with that file structure.

    Today an RTF file created using MS Word will contain so much file overhead (over 50% is useless) that I am surprised that anyone would ever want to use them at all in their application (.Net or VB6). I have recently written code that compresses RTF files containing images, and that code will compress them by better than 80%. To me, that means that 80% of the information stored in the file by MS Word is complete garbage.
    Last edited by Code Doc; Aug 3rd, 2009 at 03:11 PM.
    Doctor Ed

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width