Results 1 to 3 of 3

Thread: Text Box problem.

  1. #1

    Thread Starter
    Addicted Member rpk_20061975's Avatar
    Join Date
    Jun 2001
    Location
    India
    Posts
    234

    Text Box problem.

    On my Form, I have a Text Box, in which a user will
    type any message. Whenever I type in or pasted some
    test line by line on it, the Text Box successfully
    accepted all the text without any limit. But if a
    WORD document of a big length is pasted on it, or a
    decrypted message of big length is transferred from my
    application, it shows a length of 65535 characters, and
    the rest of the message is lost.

    What is the problem?

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649
    A regular TextBox is limited to 64K data at least on Win9x. Use a RichTextBox instead since it's only limited to the available memory.

  3. #3

    Thread Starter
    Addicted Member rpk_20061975's Avatar
    Join Date
    Jun 2001
    Location
    India
    Posts
    234
    Joacim,
    Originally I wanted to do the other way. Please go to my question in the following link:

    http://www.vbforums.com/showthread.php?threadid=238242

    I wanted to totally remove the concept of using a Text Box for typing a message. I wanted to capture the Active Window on the desktop.

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