Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Can't start a VB program on Windows '98

Posted on 1999-07-24
Medium Priority
Last Modified: 2010-04-30
I have developed a VB application (using Setup) and have sent it to a user. For some reason, once he starts the application, he gets Run-time Error 7 'Out of memory'.

The user has two computers, one Pentium 2  266 MHz, another Pentium 2 450 MHz, with lots of memory and free disk space. Both run Windows '98.

The program was already tried on many computers, including a 486DX with 16 MB memory and Windows 98, and there were no problems.

I have built the application both in VB5 and VB6, and it doesn't make any difference.

Any ideas?
Question by:karnovsk
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 1527189
If they both run the same copy of windows 98, maybe they should try and install a different version of it. Like Windows 98 SE

Expert Comment

ID: 1527190
Just in case you haven't looked up the RTE 7 in help, here's the text on it. Hopefully something in here will ring a bell :

Out of memory (Error 7)

More memory was required than is available, or a 64K segment boundary was encountered. This error has the following causes and solutions:

You have too many applications, documents, or source files open.
Close any unnecessary applications, documents, or source files that are open.

You have amodule orprocedure that's too large.
Break large modules or procedures into smaller ones. This doesn't save memory, but it can prevent hitting 64K segment boundaries.

You are running Microsoft Windows in standard mode.
Restart Microsoft Windows in enhanced mode.

You are running Microsoft Windows in enhanced mode, but have run out of virtual memory.
Increase virtual memory by freeing some disk space, or at least ensure that some space is available.

You have terminate-and-stay-resident programs running.
Eliminate terminate-and-stay-resident programs.

You have many device drivers loaded.
Eliminate unnecessary device drivers.

You have run out of space for Publicvariables.
Reduce the number of Public variables.

For additional information, select the item in question and press F1


Author Comment

ID: 1527191
To BabyFace: sorry, what is W98 SE?

To vettranger: Yes I know all that stuff, but it looks irrelevant: they have lots of memory and disk space and let Windows manage the virtual memory.

Additional Detail:

I have developed the program on Hebrew-enabled Windows. It runs without problems in Israel and the U.S. But the user who get that Error 7 lives in Holland. Maybe the problem is related to their version of Windows?


Accepted Solution

idorey earned 400 total points
ID: 1527192
The users who suffer the failure need to set their keymap to the same as the one on the original develpoment machine, OR, more practical, you need to develop the app to allow for the difference in keymaps.

The out of memory rubbish is just windows getting upset because it cannot load all of the info it needs to display the form. In this case a keymap/font etc.

Author Comment

ID: 1527193
idorey: Thanks for your answer. It is very persuasive. I would appreciate it very much if you could also tell me where to find info about keymaps and about developing application for different keymaps.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying 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 ( for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses

705 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