We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Why does the Access 2000 runtime application that used to work on Vista doesn't now?

Medium Priority
466 Views
Last Modified: 2013-11-29
I wrote a database application in Access 2000 which worked fine on XP and earlier versions of Microsoft OS's. When I upgraded to Access 2003, I maintained the files for my application in Access 2000 format.

When Vista was released, changes needed to be made to my application: mainly all macros were converted to VBA routines and all visual basic function calls were prefixed by "VBA.". That seemed to resolve the incompatibilities that my application was having with Vista at that time.

However, my application will not run on a more recent version of Vista (Vista Home Premium). The startup form will appear. I can close the startup form, but the custom menu bar is corrupted. Two of the drop-down menus are missing items and show "Other..." instead. Whenever I click on a valid menu item, I get the "Execution of this application has stopped due to a run-time error" message.

I changed my application so I could by-pass the startup routine. I was hoping I could check the references. But what happens then is the application starts up; the custom menu bar and the built-in menu bar appear; and then, once again, the "Execution of this application has stopped due to a run-time error" message displays, and the application stops before the database window even appears.

Does anyone have any idea of what is happening here? Are these new problems because of changes in the newer versions of Vista? Or is there something more basic& something that I should have changed before?

Thanks.



Comment
Watch Question

Infotrakker Software
CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2014
Commented:
If you cannot even start the application with the Shift key held down, then you've probably got a corrupt database.

Make a backup first, then do this:

Compact and Repair the database. Since you can't open it, you'll have to use JetComp: http://support.microsoft.com/kb/273956/EN-US/
Open the database, then open the VB Editor window. Click Debug - Compile. Fix any error you might have.
Now C&R again.

If those don't work, you may need to decompile. Again, make a backup.

Build a Shortcut with a Target like this:

"Full path to msaccess.exe" "Full path to your db" /decompile

Now go back through the Compact steps above.

Finally, if either of these work, you should immediately build a new, blank database and import everything into it. Don't forget your custom menubars and such, and you may have to remake any references if you're using anything other than the basics made by Access.

Where is the database installed on the Vista box? It should be in one of the User folders, not Program Files.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.