|
-
May 10th, 2005, 07:26 AM
#1
Thread Starter
Frenzied Member
VB 6 and text box
what is the limit of characters that can ne put into a text box??
basically got a program that opens com port and displays, however after 24 hours it normally crashes think because it cant handle all data? is there a way of trapping this or any advice on the subject?
cheers
-----------------------------------------------
"The hall is rented,"
"the orchestra is engaged,"
"its now time to see if you can dance!"
Q, Q-Who, Star Trek The Next Generation
-----------------------------------------------
General Work day

-----------------------------------------------
DOS, Win 95, Win 98 SE, Win ME, Win NT 4.0 SP6a, Windows 2000 SP3, Window XP SP1, Windows 7, Windows 8/8.1, Windows 10, Office 97 Pro, Office 2000 Pro, Office 2010, Office 2013, Office 2016, Office 2019, Visual Basic 6 (SP5), SQL, Oracle
-
May 10th, 2005, 07:41 AM
#2
Re: VB 6 and text box
I always thought the Textbox couldn't handle more than 32kb of text. I would suggest a RichTextBox, as they can handle any amount of text, but just take a while to load large amounts of text.
chem
Visual Studio 6, Visual Studio.NET 2005, MASM
-
May 10th, 2005, 12:29 PM
#3
Thread Starter
Frenzied Member
Re: VB 6 and text box
cheers will bear that in mind, will have a look tomoz see how my app worked over nite, cheers
-----------------------------------------------
"The hall is rented,"
"the orchestra is engaged,"
"its now time to see if you can dance!"
Q, Q-Who, Star Trek The Next Generation
-----------------------------------------------
General Work day

-----------------------------------------------
DOS, Win 95, Win 98 SE, Win ME, Win NT 4.0 SP6a, Windows 2000 SP3, Window XP SP1, Windows 7, Windows 8/8.1, Windows 10, Office 97 Pro, Office 2000 Pro, Office 2010, Office 2013, Office 2016, Office 2019, Visual Basic 6 (SP5), SQL, Oracle
-
May 29th, 2005, 01:42 PM
#4
Software Eng.
Re: VB 6 and text box
I believe the TextBox limit is 64k
-
May 29th, 2005, 05:18 PM
#5
Re: VB 6 and text box
 Originally Posted by Megatron
I believe the TextBox limit is 64k
it maybe in a 64 bit environment but, as far as MSDN says it is about 32...
 Originally Posted by MSDN
The Text setting for a TextBox control is limited to 2048 characters unless the MultiLine property is True, in which case the limit is about 32K.
Cheers,
RyanJ
-
May 29th, 2005, 09:20 PM
#6
Frenzied Member
Re: VB 6 and text box
think you should post this in the Classic Visual Basic forum...
-
May 30th, 2005, 09:20 AM
#7
Re: VB 6 and text box
it would probably make it easier if every hour or so, you appended a log file and saved the data from the textbox in it, then cleared the textbox.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|