What's the exact code you're using to take that stringbuilder and put that string into a file?
~~Bonnie
>I am building a large string builder. When comes time to drop that into a file, I use loStringBuilder.ToString(). But, this generates:
>
>"Exception of type 'System.OutOfMemoryException' was thrown."
>
>There seems to be a limit on the amount of characters we can put in a string builder or what else could be a factor here?