General discussion

Locked

VB Error 14

By Tony Cowling ·
VB error 14..?? Please can anyone help with this error... What does it mean and why does it only occur occasionally.. Application used to connect to an SQL Database.

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

VB Error 14

by Q2Ggirl In reply to VB Error 14

I had similar errors working with VB and a SQL DB. I updated the VB and it fixed the errors.

It may work for you. My workstations were 95/98 and SQL ran on an NT4.0 box.

Collapse -

VB Error 14

by Tony Cowling In reply to VB Error 14

Poster rated this answer

Collapse -

VB Error 14

by andrew In reply to VB Error 14

Error 14 is 'Out of string space'
Windows dynamically allocate memory for string storage. When a very large string or string array is created, eventually there's not enough room. It probably happens occaisionally when a big chunk of data is read from SQL.

The following code will cause this error:

MyString = "Hello"
For Count = 1 To 100
MyString = MyString & MyString
Next Count

Here's a link to an MSDN article about it:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbenlr98/html/vamsgoutofstrspace.asp

(make sure there are no spaces in the URL)

Collapse -

VB Error 14

by Tony Cowling In reply to VB Error 14

Poster rated this answer

Collapse -

VB Error 14

by Tony Cowling In reply to VB Error 14

This question was closed by the author

Back to Software Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums