Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 13th, 2004, 08:06 PM
drew010 drew010 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: california usa
Posts: 346 drew010 User rank is Sergeant (500 - 2000 Reputation Level)drew010 User rank is Sergeant (500 - 2000 Reputation Level)drew010 User rank is Sergeant (500 - 2000 Reputation Level)drew010 User rank is Sergeant (500 - 2000 Reputation Level)drew010 User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 9 h 41 m
Reputation Power: 13
Send a message via ICQ to drew010 Send a message via AIM to drew010 Send a message via Yahoo to drew010
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

Reply With Quote
  #2  
Old January 13th, 2004, 08:29 PM
edburdo edburdo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 50 edburdo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
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....

Reply With Quote
  #3  
Old January 13th, 2004, 08:48 PM
drew010 drew010 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: california usa
Posts: 346 drew010 User rank is Sergeant (500 - 2000 Reputation Level)drew010 User rank is Sergeant (500 - 2000 Reputation Level)drew010 User rank is Sergeant (500 - 2000 Reputation Level)drew010 User rank is Sergeant (500 - 2000 Reputation Level)drew010 User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 9 h 41 m
Reputation Power: 13
Send a message via ICQ to drew010 Send a message via AIM to drew010 Send a message via Yahoo to drew010
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.

Reply With Quote
  #4  
Old January 13th, 2004, 11:14 PM
spikeddem spikeddem is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 48 spikeddem User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 39 m 46 sec
Reputation Power: 6
......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

Reply With Quote
  #5  
Old January 13th, 2004, 11:23 PM
sir_drinxalot's Avatar
sir_drinxalot sir_drinxalot is offline
Known to taste like chicken
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: In front of my computer
Posts: 228 sir_drinxalot User rank is Sergeant (500 - 2000 Reputation Level)sir_drinxalot User rank is Sergeant (500 - 2000 Reputation Level)sir_drinxalot User rank is Sergeant (500 - 2000 Reputation Level)sir_drinxalot User rank is Sergeant (500 - 2000 Reputation Level)sir_drinxalot User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 13 h 59 m 40 sec
Reputation Power: 19
Send a message via MSN to sir_drinxalot
Facebook
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.

Reply With Quote
  #6  
Old January 14th, 2004, 01:04 AM
drew010 drew010 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: california usa
Posts: 346 drew010 User rank is Sergeant (500 - 2000 Reputation Level)drew010 User rank is Sergeant (500 - 2000 Reputation Level)drew010 User rank is Sergeant (500 - 2000 Reputation Level)drew010 User rank is Sergeant (500 - 2000 Reputation Level)drew010 User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 9 h 41 m
Reputation Power: 13
Send a message via ICQ to drew010 Send a message via AIM to drew010 Send a message via Yahoo to drew010
Quote:
Originally posted by spikeddem
......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


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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming > max size of textboxes?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT