S
scott
A while back I posted a message concerning an Access app I have that
requires the "Microsoft ADO Ext. 2.8 for DDL and Security" library. I
created this app running on XP and have had no problems.
However, the user of this app recently bought a new Vista pc and this app
always caused a problem after I made changes to it and then deployed it on
his Vista pc. Both my pc and his are running Office 2003 pro. This is the
problem:
1. When I'm developing on my XP pc, I'm using the "Microsoft ADO Ext. 2.8
for DDL and Security" library.
2. When I copy my working version to his Vista pc, vba code errors prevent
opening the app. Vista gives a "Microsoft Office Access has stopped working"
error. It then displays another error alert stating that it can't find the
access mdb file that I originally clicked. This happens because the
"Microsoft ADO Ext. 2.8 for DDL and Security" library is missing on Vista.
3. The fix is to create a blank access database, import all objects from the
failed mdb version. Then sets the reference to "Microsoft ADO Ext. 2.6 for
DDL and Security" library.
4. Even worse, when the Vista-working mdb file is copied to the XP machine,
XP won't open it because Access on XP no longer has a "Microsoft ADO Ext.
2.6 for DDL and Security" library. Another strange thing is once back on XP,
I'm allowed to hold the SHIFT-key and click OPEN to get the failing mdb
open, but when I go to REFERENCES, the "Microsoft ADO Ext. 2.8 for DDL and
Security" isn't in the list any longer!
5. The fix on XP is to repeat STEP 3, except select the "Microsoft ADO Ext.
2.8 for DDL and Security" library which will show in a new blank database.
So now, after explaining the problem, is there a way to detech which OS is
running within my Access app and then dynamically load either the ADOX 2.8
library for XP or the ADOX 2.6 library for Vista?
requires the "Microsoft ADO Ext. 2.8 for DDL and Security" library. I
created this app running on XP and have had no problems.
However, the user of this app recently bought a new Vista pc and this app
always caused a problem after I made changes to it and then deployed it on
his Vista pc. Both my pc and his are running Office 2003 pro. This is the
problem:
1. When I'm developing on my XP pc, I'm using the "Microsoft ADO Ext. 2.8
for DDL and Security" library.
2. When I copy my working version to his Vista pc, vba code errors prevent
opening the app. Vista gives a "Microsoft Office Access has stopped working"
error. It then displays another error alert stating that it can't find the
access mdb file that I originally clicked. This happens because the
"Microsoft ADO Ext. 2.8 for DDL and Security" library is missing on Vista.
3. The fix is to create a blank access database, import all objects from the
failed mdb version. Then sets the reference to "Microsoft ADO Ext. 2.6 for
DDL and Security" library.
4. Even worse, when the Vista-working mdb file is copied to the XP machine,
XP won't open it because Access on XP no longer has a "Microsoft ADO Ext.
2.6 for DDL and Security" library. Another strange thing is once back on XP,
I'm allowed to hold the SHIFT-key and click OPEN to get the failing mdb
open, but when I go to REFERENCES, the "Microsoft ADO Ext. 2.8 for DDL and
Security" isn't in the list any longer!
5. The fix on XP is to repeat STEP 3, except select the "Microsoft ADO Ext.
2.8 for DDL and Security" library which will show in a new blank database.
So now, after explaining the problem, is there a way to detech which OS is
running within my Access app and then dynamically load either the ADOX 2.8
library for XP or the ADOX 2.6 library for Vista?