473,320 Members | 1,856 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Text limit in text box?

Hello everyone,
I am using a textbox for dumping information generated by the file
system watch object. I am having this problem that always at some
stage new new information stops being entered into the textbox
even though there should be. If I clear the textbox, new information
will start tp appear again. I am not receiving any error message, so
is there some sort of internal limit on the amount of text which can
be added/pasted into a textbox ? If so, does anyone have a simple
solution. Maybe I should just use a file.
Jul 31 '07 #1
1 3154

if you drag and drop a textbox on a form the max size is standard 32767
characters , however AFAIK you can set it to the integers datatypes max size
FROM MSDN :

In code, you can set the value of the Text property to a value that has a
length greater than the value specified by the MaxLength property. This
property only affects text entered into the control at run time.
Windows NT 4.0, Windows 2000, Windows 2000 Professional, Windows 2000
Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP
Professional x64 Edition, Windows Server 2003 Platform Note: For single line
text box controls, if the MaxLength property is set to 0, the maximum number
of characters the user can enter is 2147483646 or an amount based on
available memory, whichever is smaller. For multiline text box controls, the
maximum number of characters the user can enter is 4294967295 or an amount
based on available memory, whichever is smaller.

Windows Millennium Edition Platform Note: For single line text box controls,
if the MaxLength property is set to 0, the maximum number of characters the
user can enter is 32,766 or an amount based on available memory, whichever is
smaller. For multiline text box controls, the maximum number of characters
the user can enter is 65,535 or an amount based on available memory,
whichever is smaller.

HTH

Michel

"Proto" wrote:
Hello everyone,
I am using a textbox for dumping information generated by the file
system watch object. I am having this problem that always at some
stage new new information stops being entered into the textbox
even though there should be. If I clear the textbox, new information
will start tp appear again. I am not receiving any error message, so
is there some sort of internal limit on the amount of text which can
be added/pasted into a textbox ? If so, does anyone have a simple
solution. Maybe I should just use a file.
Jul 31 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Gary | last post by:
Hello, I am using asp classical and connection to SQL 2000 on a Windows 2000 machine. I am using this code to generate a text file when the user clicks on the link. This is so the user can...
4
by: David Smithz | last post by:
Hi there, Just run a query that has a column that has a result of more then 1024 characters( quite a lot more actually) when I display full text in phpMyAdmin, it only seems to show up to 1024...
4
by: Derty | last post by:
Any way to limit the length of databound text on a datalist itemtemplate?
5
by: SSG | last post by:
I have text area having 4 rows & 10 cols.. while I am typing in Textarea , it should not accept the 5 th row & 11 th col... Hw to create text area like that....
7
by: Arancaytar | last post by:
(Note: I am a Javascript newbie. I can handle PHP and Java, but this is unfamiliar territory.) For a wordcount feature, I need to collect the complete text content of a 'div' element inside a...
2
by: eggie5 | last post by:
I wrote a script that tracks the number of characters a user types into a text box. It has a limit you can set, and when that limit is reached I would like to block the user from entering any more...
4
by: Alec MacLean | last post by:
Is anyone aware of a size limit imposed on the subject text when using the System.Net.Mail library? I'm getting problems of message not being recieved if the subject exceeds 15 chars. Thx
3
by: bhanubalaji | last post by:
hi, I am unable to disable the text(label) in javascript..it's working fine with IE,but i am using MOZILLA.. can any one help regarding this.. What's the wrong with my code? I am...
9
by: plumba | last post by:
Hi all I have a pretty cool script which, on the click of a button, sticks in a extra text box and gives it a unique name/id so it can be munipulated and sent through on a form. Problem is, I...
6
by: twiggymoo | last post by:
I want to have a popup message box for certain cases. In the field I want an event onclick that does this: If = then msgbox "Class is Full" Elseif > then msgbox "You have exceeded the class...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.