Home · Compatibility Lists · Support Forums · FAQ · News Archive · Articles · Submit News/Upcoming News
NT Compatible
advertisement


Forum overview » Everything New Technology » Visual Basic 4 Out of Memory Problems (1/1)

Reply New Poll

Visual Basic 4 Out of Memory Problems
Author Message
Kayt
Junior Member


Posts: 3
Joined: 2005-06-23
Member No.: 66746
Icon 2005-06-23 01:53:40

I am running two seperate executable files generated from VB4 code. The applications work on machines running win 2000 and xp. I have not tested on NT or server 2000. The applications will not run on Server 2003 or XP for Tablet PC 2005- the only other two OS's that I have access to.

The errors I get are common to both applications on both OS's on which the applications will not run.

The error messages:
1) "Out of Memory" followed by "Run time error 91: Object Variable or With Block not set.' On debug the line 'Data1.Recordset.Index = SORT$' is indicated as the problem.
2) "Out of Memory" followed by "Run time error 2004: Out of Memory.' On debug the line 'Data1.Refresh' is indicated as the problem.

I get the out of memory error once for each time a connection to a databse is made. E.g. at one point a connection is made to 6 seperate databases. I get 6 memory errors followed by the run time error.

I am uncertain as to whether this is an OS issue, a data control issue, a case of horrible programming by the original programmer issue or something else.

I also get an out of memory error when trying to add a data control to a form. Properties for 'Connect' and 'Database Name' are 'Access' and ' settings.mdb' (shouldn't be an issue). 'Recordset Type = Dynaset'. When I try to set the recordsource property I get the 'Out of Memory' Error.

(I have had issues with this code and incorrect use of the 'option explicit' selection- I have no idea if this might also be causing some problems.)

Any light that you can shed is greatly appreciated- even if it's just to point me in the right direction to research my own answers!

Post #163538
Edit Quote Print Solution Plonk Delete
Related Compatibility RSS Vendor Rating Entries First Post Last Post
Visual Basic 6 Enterprise Microsoft ***** 1 2010-03-06 11:41:37 2010-03-06 11:41:37
Visual Basic Run Time Microsoft ***** 11 2007-04-04 14:36:04 2010-01-15 15:18:06
Visual Basic 6.00 Professional French Microsoft * 1 2002-03-01 12:00:00 2002-03-01 12:00:00
Visual Basic 4.0 Microsoft ***** 1 2000-05-01 12:00:00 2000-05-01 12:00:00
Visual Basic 5.0  Microsoft ***** 1 2000-02-01 12:00:00 2000-02-01 12:00:00

Reply New Poll

Forum overview » Everything New Technology » Visual Basic 4 Out of Memory Problems

Legend
View   View profile
Solved   Mark this post as solution (topic starter only)
Quote   Reply with quote to post
Edit   Edit post
Delete   Delete post (admin only)

Moderator: Open / Close / Bump / Delete / Move / Merge

All products mentioned are registered trademarks or trademarks of their respective owners.
© 1998-2009 Esselbach Internet Solutions - All Rights Reserved. Terms and privacy policy
Website powered by Esselbach Storyteller CMS System