|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
max size of textboxes?
im making a program that reads a line delimited file and displays it in a textbox. in larger files it seems to only display about 3000 lines before it cuts off the words? do textboxes have a max length? if so is there another textbox class with unlimited length or a way to fix the built in one?
thanks |
|
#2
|
|||
|
|||
|
VB6 or VB.Net?
In VB6, the max length is 64k I think. How big are your lines? And I think a RTF Box (Rich Text Box) will handle much larger than that....
__________________
~ Eric http://www.rlisolutions.com http://www.programmers-corner.com Sign Up for our Programming Newsletter |
|
#3
|
|||
|
|||
|
yeah its in vb6.
edit: the rich text box seems to be able to hold almost unlimited amounts of data. however the program seems to crash when i try to open larger files usually greater than about 20 megs. any way to prevent this from happening? Last edited by drew010 : January 13th, 2004 at 08:54 PM. |
|
#4
|
|||
|
|||
|
......what kind of texts are you working with if their >20meg?
wordlists? dictionaries? if so, just split it up into smaller individual ones using some freeware that you can find on google |
|
#5
|
||||
|
||||
|
its probably crashing because of the sheer size of the file u r trying to open. even notepad will crash if you try to open a large file on winXP.
|
|
#6
|
|||
|
|||
|
Quote:
unfortunately im not able to split them up beacuse their are files of addresses for several mailing lists of the company i work for. mainly the purpose of the program is to go thru and verify each one exists and remove duplicate entries from merged lists so it needs to be the whole thing. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > max size of textboxes? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|