|
-
Feb 23rd, 2008, 09:43 AM
#1
Textbox Problem
I have a string(as StringBuilder) of 35,660 characters that I put into a textbox. The problem is that it is slow. AT first I thought my problem was the .tostring of the stringbuilder but that was not the case. In the end I created a rich textbox and executed the following in the debugger
tstRTB.Text = lstANSa(pANS.Value).ToString 'rich textbox
txtFOC.Text = lstANSa(pANS.Value).ToString 'textbox
The rich textbox example executes as soon as you press F8. The textbox version takes seconds.
What am I missing. BTW - I reversed the order of the statements but the results were the same.
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
|