Solved

Type ... End Type 64K Limit

Posted on 1998-09-03
4
173 Views
Last Modified: 2010-04-30
Is there any way to get around the 64K limit with Type...End Type?  I have a huge list of strings defined and would like to avoid breaking it down into a billion type statements if possible.  Code will help.
0
Comment
Question by:dokken
  • 2
  • 2
4 Comments
 
LVL 1

Expert Comment

by:lawnranger
ID: 1432829
Make the strings variable length (they only take 4 bytes) and then you can have about 16,000 strings. Is that enough?
0
 

Author Comment

by:dokken
ID: 1432830
16,000 would be more than enough.  I actually just tried removing the fixed lengths.  So far no problems, but I'm still adding all the data.  So, no matter how big each string is I shouldn't run into any memory errors right?
0
 
LVL 1

Accepted Solution

by:
lawnranger earned 30 total points
ID: 1432831
If its VB5 the string length limit is huge 2^31 chars I think. Does thie get the points? =:)
0
 

Author Comment

by:dokken
ID: 1432832
Good, I can avoid a million type...end type's :)
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question