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


Cannot key numbers into VB 3 Access 2 application

Posted on 2001-06-14
Medium Priority
Last Modified: 2010-05-02
I'm supporting a VB3, Access 2.0 DB application in which a small percentage of users are unable to key numbers into several text boxes on screen, but they can key letters into any text box at any time.  Tried keying numbers from both keyboard and number pad but nothing happens when a number key is hit.  I have seen this issue with Win 95, 98, and 2000 workstations in stand alone, NT, and Novell environments.  No pattern there.

In many of these cases Win 95/98 users have been able to get around the problem by going to Control Panel, System, Performance Tab, File System, and change the Typical Role of this machine between the "Desktop Computer" and "Network server." If problem comes up again can change setting back and it usually helps.  Under Windows 2000 get same result by going to Control Panel; System; Advanced tab; Performance Options; under "Application response" change setting from "Applications" to "Background services."

This issue seems to be pc specific.  In cases where program is run from a server if problem comes up on one pc we can immediately go to another pc and key numbers into the same field without any problems.  On one pc with this problem we opened the Access 2.0 database directly (back door) and were able to key numbers directly into the table.

This issue has been a thorn in my side for over two years.  I don't know why changing the system settings helps (keep in mind there have been a few cases where nothing helped).  I would appreciate any ideas or sense anyone can make of this.  Thanks!!

Question by:stuckagain
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
LVL 43

Expert Comment

ID: 6191707
stuckagain, when this happens have you tried pressing Ctrl, Alt, Shift and releasing them then trying again. I know it sounds strange but sometimes windows does seem to think that one of these keys is down when in fact it isn't this will cause the system to think that you are pressing this key in addition to the number and this may be an invalid entry to the text box. I cannot say why this happens or how often but it occurs occasionally to me on NT4 and pressing the keys and releasing them always works.
LVL 14

Accepted Solution

Matti earned 1200 total points
ID: 6192316

Event driven code in VB3?
Had years ago some of these VB 3.0 problems, need to use faster macine to fix and compile the program.

There comes stack problems and overflows and those do not show in the VB IDE if the prosessor is slow. like the performance difference scale from 486/66mhz to Cyric P 686-150.

So install the VB 3 to faster macine and try to run and fix the code.


Author Comment

ID: 6255918
The problem version of this application was compiled on an
 AMD K6-2 266 Mhz pc with 64 MB ram.  We now have a compile on a 1 Ghz pc with 256 MB ram.  Still waiting for client feedback but should be ok now. Thanks!!
LVL 14

Expert Comment

ID: 6256513

Ok, that was an old solve, and discovered it by accident and those days it was bossible to reproduce the problem also.

Those AMD processors could be problematic as the old VB does not have any conditional compilation options available when it complies.

Also there is Power BASIC
This could be a "last chance" but this kind of solution need's more work.

One more think: Do you have Y2K update from MS for Access 2.0, there comes latest versions of VB 3.0/ 4.0 16bit DAO2.5 librarys.


Expert Comment

ID: 6657231
Sound like a dirty KeyBoard
Clean your Keyboard first. When ever keys get stuck or my fingers get stuck to the keyboard I was my hands first and then I clean the Keyboard. This technique works with all applications. If this does not work then replace your Keyboard.

if none of this works then stop using the keyboard, just relly on the mouse.

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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

722 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