Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / July 2007

Tip: Looking for answers? Try searching our database.

Text limit in text box?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Proto - 31 Jul 2007 01:11 GMT
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.
Michel Posseth [MCP] - 31 Jul 2007 13:30 GMT
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

> Hello everyone,
> I am using a textbox for dumping information generated by the file
[quoted text clipped - 5 lines]
> be added/pasted into a textbox ? If so, does anyone have a simple
> solution. Maybe I should just use a file.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.