473,396 Members | 1,864 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Running macros in Access 2007 Runtime on Vista

Hello!

Has anyone had trouble running macros on the Access runtime version on
Vista? I tried enabling macros in the trust center, and thought for
sure this would solve the problem! But, alas, my hopes were in vain -
I still get the 2950 error when the Autoexec macro runs. I don't think
it's a trust folder issue because I'm set the registry key of the app
path in the install wizard, and the program doesn't give the warning
message when I run it. The install works perfect on XP!

many thanks!
Jack. B. Nimble
Feb 11 '08 #1
4 6203
ja*************@gmail.com wrote:
Hello!

Has anyone had trouble running macros on the Access runtime version on
Vista? I tried enabling macros in the trust center, and thought for
sure this would solve the problem! But, alas, my hopes were in vain -
I still get the 2950 error when the Autoexec macro runs. I don't think
it's a trust folder issue because I'm set the registry key of the app
path in the install wizard, and the program doesn't give the warning
message when I run it. The install works perfect on XP!

many thanks!
Jack. B. Nimble
What is error 2950? I forgot to memorize the trappable error list for
the test.

Carve
http://www.youtube.com/watch?v=b5hFg9YjsdE
Feb 11 '08 #2
ja*************@gmail.com wrote in news:f4531a1a-5c58-4235-8068-
d1**********@y5g2000hsf.googlegroups.com:
This question relates to anyone who has an come across a problem
running macros on Access 2007 on Vista - particularly on the runtime!
Any thoughts on this welcome indeed!
How about guesses? Mine is that your install utility has erred in naming
some directories and that security prevents running code from non-trusted
directories and that would include directories that don't exist or are
inaccessible. The directory system in VISTA seems markedly different from
that of XP; if your install utility is not up-to-date then it may not take
this into account.
If my guess is correct, and I think it has at least one chance in a million
of being correct, a solution might be to update your install utility and
VISTA and XP and Office to their latest Service Packs and Updates on all
machines involved.
But it's just a guess.
My other guess would be that you are doing something so incredibly bizarre
that we can't guess what it is.
Maybe the first guess is preferable?
Feb 11 '08 #3
lyle fairfield wrote:
ja*************@gmail.com wrote in news:f4531a1a-5c58-4235-8068-
d1**********@y5g2000hsf.googlegroups.com:

>>This question relates to anyone who has an come across a problem
running macros on Access 2007 on Vista - particularly on the runtime!
Any thoughts on this welcome indeed!


How about guesses? Mine is that your install utility has erred in naming
some directories and that security prevents running code from non-trusted
directories and that would include directories that don't exist or are
inaccessible. The directory system in VISTA seems markedly different from
that of XP; if your install utility is not up-to-date then it may not take
this into account.
If my guess is correct, and I think it has at least one chance in a million
of being correct, a solution might be to update your install utility and
VISTA and XP and Office to their latest Service Packs and Updates on all
machines involved.
But it's just a guess.
My other guess would be that you are doing something so incredibly bizarre
that we can't guess what it is.
Maybe the first guess is preferable?
Maybe he can convert the macro to some VBA code. Then in the AutoExec
use RunCode that calls the converted function. At least he could get
the description of the error or step thru the code.

If the OP's macro is calling code via RunCode...add something to the
error routine like
msgbox Err.Number & " " & Err.Description

I'm surprised he gets only the error number instead of the error
description at this time. I would think it would be the other way around.

Awesome Aussie
http://www.youtube.com/watch?v=MvXnQ3JC-Nw
Feb 11 '08 #4
Great news! I believe my problem is solved. It turns out the enabling
macros to run with no restrictions was in fact the solution.

Jack B. Nimble.

On Feb 11, 1:21 pm, Salad <o...@vinegar.comwrote:
lyle fairfield wrote:
jackbenimble...@gmail.com wrote in news:f4531a1a-5c58-4235-8068-
d11b45199...@y5g2000hsf.googlegroups.com:
>This question relates to anyone who has an come across a problem
running macros on Access 2007 on Vista - particularly on the runtime!
Any thoughts on this welcome indeed!
How about guesses? Mine is that your install utility has erred in naming
some directories and that security prevents running code from non-trusted
directories and that would include directories that don't exist or are
inaccessible. The directory system in VISTA seems markedly different from
that of XP; if your install utility is not up-to-date then it may not take
this into account.
If my guess is correct, and I think it has at least one chance in a million
of being correct, a solution might be to update your install utility and
VISTA and XP and Office to their latest Service Packs and Updates on all
machines involved.
But it's just a guess.
My other guess would be that you are doing something so incredibly bizarre
that we can't guess what it is.
Maybe the first guess is preferable?

Maybe he can convert the macro to some VBA code. Then in the AutoExec
use RunCode that calls the converted function. At least he could get
the description of the error or step thru the code.

If the OP's macro is calling code via RunCode...add something to the
error routine like
msgbox Err.Number & " " & Err.Description

I'm surprised he gets only the error number instead of the error
description at this time. I would think it would be the other way around.

Awesome Aussiehttp://www.youtube.com/watch?v=MvXnQ3JC-Nw
Feb 12 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Jefferson | last post by:
Someone has tried Access 97 on Windows Vista? It works or there are serious problems? Thanks
6
by: Wayne | last post by:
Has anyone noticed that Access databases (2003) are much slower to load under Vista or is it just me? I have a dual boot machine (XP and Vista). Applications generally are a bit slower to load...
6
by: cmking | last post by:
I have Office Professional 2000 but would like to upgrade to Office 2007 (Home/Small Business edition) which does not include Access 2007, this because I am buying it myself, and can't afford Office...
4
by: =?Utf-8?B?UGhpbGlwIEs=?= | last post by:
Simplifying the code a bit its like this: try { myRemotingObj.Myfunction(string, string,string,string,timeSpan) } catch(WebException) { commsUp = false; }
12
by: ARC | last post by:
I'm currently looking at the access developer extensions for creating an MSI installer package for a 2007 runtime app. Couple of observations and questions. 1) Doesn't look like we have the...
8
by: elias.farah | last post by:
Hello Everyone, I'm having some very weird behavior on a couple of Access forms. (Not all forms, just some of them). The forms have been working for years, under Access XP/2003 etc, and last...
10
by: Arno R | last post by:
Hi all, So I bought a new laptop 10 days ago to test my apps with Vista. (home premium) Apparently Office 2007 is pre-installed. (a time limited but complete test version, no SP1) So I take the...
11
by: jackbenimble999 | last post by:
Hello! I'd like to distribute an application developed in MS Access 2003. I've looked at the MS web site and it says although the ability to distribute is included with MS Office Retail, you...
1
by: kfry | last post by:
I am having an issue maybe someone can help with. I have written an application with Access 2003 on my XP pc. I then package it and install it on my VISTA Access 2007 PC. When I do this the wrong...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.