I have someone complaining thir db does not work on a new PC using Vista. One of his comments is very similar to a posting I found on the internet which did not have an answer, any ideas??
Thread found:
Hello everyone,
I have an application that was developed using Access 2002-2003. It
runs just fine on my XP machine using Access 2003, as well as with the
2003 runtime. When I try to run it using Access 2003 on a Vista
machine, the opening screen - which has code in the On_Open event,
comes up with the error:
"The expression On Open you entered as the event property setting
produced the following error: Object or class does not support the set
of events"
I checked the references and there's nothing missing. The Access
reference is set to the 12.0 Object Library <- (I have 2007 installed
on this machine, so this is the newest). I am able to run the
application on the Vista machine using Access 2007. It tried starting
with a fresh new database and created a form with code in the On Open
event and got the same error - so it's nothing specific to this
particular application.
One more piece of information - I also have Access 2000 running on
this machine and when I create a test form with code in the On Open
event, I also get the error. The only time it runs successfully is
with 2007 (the db is still in the 2003 file format).
Anyone know what might be the problem and if there is a fix?
Thanks
Thread found:
Hello everyone,
I have an application that was developed using Access 2002-2003. It
runs just fine on my XP machine using Access 2003, as well as with the
2003 runtime. When I try to run it using Access 2003 on a Vista
machine, the opening screen - which has code in the On_Open event,
comes up with the error:
"The expression On Open you entered as the event property setting
produced the following error: Object or class does not support the set
of events"
I checked the references and there's nothing missing. The Access
reference is set to the 12.0 Object Library <- (I have 2007 installed
on this machine, so this is the newest). I am able to run the
application on the Vista machine using Access 2007. It tried starting
with a fresh new database and created a form with code in the On Open
event and got the same error - so it's nothing specific to this
particular application.
One more piece of information - I also have Access 2000 running on
this machine and when I create a test form with code in the On Open
event, I also get the error. The only time it runs successfully is
with 2007 (the db is still in the 2003 file format).
Anyone know what might be the problem and if there is a fix?
Thanks