473,797 Members | 3,126 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Limit of text in a Textbox

When did this change? I thought is was 64K but I managed to dump 18MB in
one, Access crashed when I scrolled to the bottom (out of memory error
then sent report to MS). Out of interest, does anyone what a reasonable
limit is? i.e. how much text can be dumped and scrolled without crashing.

--
Pretentious? Moi?
Nov 13 '05 #1
1 1966
On Mon, 04 Oct 2004 18:50:27 +0100, Trevor Best <nospam@localho st>
wrote:
When did this change? I thought is was 64K but I managed to dump 18MB in
one, Access crashed when I scrolled to the bottom (out of memory error
then sent report to MS). Out of interest, does anyone what a reasonable
limit is? i.e. how much text can be dumped and scrolled without crashing.

--

Hi
I tried in access 97 using an unbound text box.
At 1.5 Mbytes I could still scroll quite easily but I noticed that if
I switched to design view and then back to form view I got the message
"text is too long to be edited" and the text box went blank. The text
was still in there though as
txt = txt & txt
put it all back doubled in size.

I did this few more times without counting and then everything hung,
in a way that task manager was with difficulty persuaded to kill (this
is on XP pro).
David

Nov 13 '05 #2

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

Similar topics

3
6928
by: Quack Boy | last post by:
Hi all, I've worked out that the limit of a textbox is 64Kb. What can I do if the I want to work with text which is, say four or five times as much? Can I extend the limit (maxlength??) of the text box or do I have to change the textbox for some other component? And yes, I'm very very new to VB ;) Thank you.
1
5026
by: SpreadPeace | last post by:
I'm hitting the 255 character limit of a text box on a form and was wondering if anyone know how to get around this. Here the scenario.... - Access 2000 front end with Sql Server backend. - The textbound is bound to a field which is nvarchar*4000 (I know with an Access DB you have to use a memo field to get around the size limit, I would think nvarchar*4000 would be good enough) - The 255 character limit only occurs in the VBA code. ...
4
4862
by: Paul E Collins | last post by:
I'm writing an application with a TextBox control on its main form. I'm running the application under WinXP Pro, so (as I understand it) there should be no practical limit to the number of characters in a text box. However, when I paste in a large amount of text, the text box truncates it at exactly 32K characters. This is a problem, because I need to know exactly how many of each character were pasted; besides, I wasn't expecting the...
6
6528
by: Aaron Smith | last post by:
Is there a way to put a limit on the text size of a datagrid column? Thanks, Aaron -- --- Aaron Smith Remove -1- to E-Mail me. Spam Sucks.
7
6914
by: Andrew | last post by:
VB .NET 2003, WinXP Pro: Adding text to a text box with the TextBox.AppendText method limits the amount of text in the textbox to 32K. I have a short program that uses the GetFiles function of the directory object, then iterates through the returned array and appends the strings to the textbox. However, if the character count is greater than 32k, no additional text is displayed in the textbox, though no error is raised.
12
2473
by: MLH | last post by:
Can I somehow set a max length of chars entered into an unbound textbox control?
6
1973
by: Samuel Shulman | last post by:
Is there any way to put a limit on the number of lines in a textbox? (appart of number of characters) Thank you, Samuel
6
3227
by: Avi G | last post by:
Hi, what is the code to limit a textbox that will accept only text and not number private void button1_Click(object sender, EventArgs e) { if (textBox1.Text = "numbers") { // do something }
1
3182
by: | last post by:
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...
0
1262
by: tshad | last post by:
I seem to have hit some sort of limit of a textbox (multiline). It was working fine for a while, but now I am getting a strange error having nothing to do with the problem. I have a Function that is called either from my Windows Service as well as call as an .exe. There is no actual error from writing to the text box, but as I am leaving the call:
0
9536
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10468
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10245
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10021
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9063
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7559
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6802
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4131
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3748
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.