Amount of characters in a textbox...

E

EMW

In my program (VB.NET2003) I use a textbox with multiline to show the user
a realtime progress.
Everytime (s)he changes something, it is logged into that textbox.
Also it is possible to add text as remarks.

But I just found out, a textbox can only hold 32 kbyte of characters (2048
bytes without multiline) and it is for sure that it will not be enough.

What are now my options?
Should I use a datagrid with a single column and row, thus one cell?
Or does it have the same restrictions?

Are there other controls I could use?

rg,
Eric
 
H

Herfried K. Wagner [MVP]

* "EMW said:
In my program (VB.NET2003) I use a textbox with multiline to show the user
a realtime progress.
Everytime (s)he changes something, it is logged into that textbox.
Also it is possible to add text as remarks.

But I just found out, a textbox can only hold 32 kbyte of characters (2048
bytes without multiline) and it is for sure that it will not be enough.

What are now my options?
Should I use a datagrid with a single column and row, thus one cell?
Or does it have the same restrictions?

Use a RichTextBox, or even better, only show the last n additions.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top