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 / Managed C++ / August 2007

Tip: Looking for answers? Try searching our database.

How to increase .Net TextBox storage for large data

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
H.B. - 06 Aug 2007 15:06 GMT
Hi,

In the past, I was using a MFC CEdit control to display logged data (A lot
of Data). The control seems to have virtually no limit.

Now, I'm using a .Net TextBox. When I reach about 32768 characters it
doesn't take any more data.

How can I change this.

Thanks,

Hugo
AlexS - 06 Aug 2007 16:03 GMT
By default you have TextLength set to this value.

If you set it to 0, you can use longer strings:

MSDN: "When this property is set to zero, the maximum length of the text
that can be entered in the control is limited only by available memory"

> Hi,
>
[quoted text clipped - 9 lines]
>
> Hugo
H.B. - 06 Aug 2007 18:24 GMT
MaxLength is for input by the Keyboard. When software fills the TextBox, it
doesn't care about this value.

I tested filling my log window (TextBox) with MaxLength set to 0, 100 and
65535. The result was identical for all : impossible to put more than 32767
char in the TextBox.

> By default you have TextLength set to this value.
>
[quoted text clipped - 16 lines]
> >
> > Hugo
AlexS - 06 Aug 2007 16:09 GMT
Oops, property is MaxLength

"AlexS" <salexru2000NO@SPAMrogers.comPLEASE> wrote in message news:...
> By default you have TextLength set to this value.
>
[quoted text clipped - 17 lines]
>>
>> Hugo

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.