Advertisement

There's no such thing as a stupid question, but they're the easiest to answer.
Login
Search

Advertisement

All Other Software All Other Software
Search Search
Search for:
Tech Support Guy > > >

Access 2010 command button error since updating to Windows 7


(!)

dude1dude's Avatar
dude1dude dude1dude is offline
Computer Specs
Member with 3 posts.
THREAD STARTER
 
Join Date: May 2012
Experience: Intermediate
31-May-2012, 09:50 PM #1
Access 2010 command button error since updating to Windows 7
Tech Support Guy System Info Utility version 1.0.0.2
OS Version: Microsoft Windows 7 Home Premium, Service Pack 1, 64 bit
Processor: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz, Intel64 Family 6 Model 42 Stepping 7
Processor Count: 8
RAM: 8172 Mb
Graphics Card: NVIDIA GeForce GT 555M, -2048 Mb
Hard Drives: C: Total - 1881952 MB, Free - 1827181 MB;
Motherboard: LENOVO, 7745
Antivirus: Microsoft Security Essentials, Updated and Enabled


I have a command button on an access 2010 switchboard in a program I made that is supposed to launch an excel program I made. Most everything was created in Access 2002 and excel 2002 though some features were added in Office 2010. This command button and others which launch other reports and forms in access all were working well. I use all of this in compatibility mode.

Now I have updated to a new computer with Windows 7. Everything else seems fine. However, the command button to launch the excel program gives me a message: "There was an error executing the command." It opens the program anyway though keeping the access switchboard and the error message in the foreground.

Additionally, and this may be unrelated, if I close the excel program and then attempt to reopen it with the command button, I get the same error message but excel does not open at all. If I close down everything and open the access program again it is the same cycle.
BPCS's Avatar
BPCS BPCS is offline
Member with 131 posts.
 
Join Date: May 2012
Location: Massachusetts
Experience: Advanced
01-Jun-2012, 06:29 AM #2
Is it 64 bit Windows 7?
dude1dude's Avatar
dude1dude dude1dude is offline
Computer Specs
Member with 3 posts.
THREAD STARTER
 
Join Date: May 2012
Experience: Intermediate
01-Jun-2012, 04:41 PM #3
64 bit Windows 7?
Yes it is
BPCS's Avatar
BPCS BPCS is offline
Member with 131 posts.
 
Join Date: May 2012
Location: Massachusetts
Experience: Advanced
05-Jun-2012, 03:23 AM #4
I personally have had problems with older office apps on newer 64 bit systems, I never dove into it much so I can't say why. If you have a newer version of office I suggest upgrading the app and trying it in the newer version like 2007 or 2010.
Keebellah's Avatar
Keebellah   (Hans) Keebellah is offline Keebellah is a Trusted Advisor with special permissions. Keebellah has a Profile Picture
Computer Specs
Trusted Advisor with 5,186 posts.
 
Join Date: Mar 2008
Location: Oegstgeest, The Netherlands
Experience: Advanced
05-Jun-2012, 05:40 AM #5
Check if there's hardcoded system information in the code like a path or similar.
Windows 7 store profiles in a different way XP di (if that was your previous version)
dude1dude's Avatar
dude1dude dude1dude is offline
Computer Specs
Member with 3 posts.
THREAD STARTER
 
Join Date: May 2012
Experience: Intermediate
10-Jul-2012, 07:22 PM #6
Here is the code. Do you see where the problem is?
Keebellah's Avatar
Keebellah   (Hans) Keebellah is offline Keebellah is a Trusted Advisor with special permissions. Keebellah has a Profile Picture
Computer Specs
Trusted Advisor with 5,186 posts.
 
Join Date: Mar 2008
Location: Oegstgeest, The Netherlands
Experience: Advanced
17-Jul-2012, 09:37 AM #7
What code?
As Seen On

BBC, Reader's Digest, PC Magazine, Today Show, Money Magazine
WELCOME TO TECH SUPPORT GUY!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.


(clock)
THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


WELCOME
You Are Using: Server ID
Trusted Website Back to the Top ↑