![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi There, I've updated one of our a databases to run in Office 2010 x64 w/Win 7 x64. For some reason, I am getting a Path/Access Error 75 on this statement: Open "c:\products.txt" For Output As #1 I believe it's due to Access 2010 not having the DAO 3.6 Reference library installed. I clicked the DAO 3.6 Object Library in references, and get "Error loading DLL". (location seems to be: C: \Program Files\Common Files\Microsoft Shared\DAO\dao360.dll". (Which is non existant). I tried to get smart, and run regsvr32 "C:\Program Files (x86)\Common Files\Microsoft Shared\DAO\dao360.dll" which registered successfully, but didn't seem to appear in the references as an available option in MS-Access. I'm rather lost! Thanks anybody who has read this far! Thankyou! |
#3
| |||
| |||
|
|
"elias" <elias.fa... (AT) scw (DOT) com.au> wrote in message news:33375c0f-6462-4252-bc75-1e2e8e761bbb (AT) b4g2000pra (DOT) googlegroups.com... Hi There, I've updated one of our a databases to run in Office 2010 x64 w/Win 7 x64. For some reason, I am getting a Path/Access Error 75 on this statement: Open "c:\products.txt" For Output As #1 I believe it's due to Access 2010 not having the DAO 3.6 Reference library installed. * I clicked the DAO 3.6 Object Library in references, and get "Error loading DLL". *(location seems to be: C: \Program Files\Common Files\Microsoft Shared\DAO\dao360.dll". *(Which is non existant). I tried to get smart, and run regsvr32 "C:\Program Files (x86)\Common Files\Microsoft Shared\DAO\dao360.dll" which registered successfully, but didn't seem to appear in the references as an available option in MS-Access. I'm rather lost! Thanks anybody who has read this far! Thankyou! This has nothing to do with DAO or the lack of it. The Open statement has been an integral part of VBA since its inception. Its not a reference problem. Check your permissions for c:\ You get a Path/Access Error when VBA can't access the path in question, for whatever reason (permissions, network down - that kind of thing). |
#4
| |||
| |||
|
|
Hi There, I've updated one of our a databases to run in Office 2010 x64 w/Win 7 x64. For some reason, I am getting a Path/Access Error 75 on this statement: Open "c:\products.txt" For Output As #1 I believe it's due to Access 2010 not having the DAO 3.6 Reference library installed. I clicked the DAO 3.6 Object Library in references, and get "Error loading DLL". (location seems to be: C: \Program Files\Common Files\Microsoft Shared\DAO\dao360.dll". (Which is non existant). I tried to get smart, and run regsvr32 "C:\Program Files (x86)\Common Files\Microsoft Shared\DAO\dao360.dll" which registered successfully, but didn't seem to appear in the references as an available option in MS-Access. |
#5
| |||
| |||
|
|
I've updated one of our a databases to run in Office 2010 x64 w/Win 7 x64. |
#6
| |||
| |||
|
|
elias wrote: I've updated one of our a databases to run in Office 2010 x64 w/Win 7 x64. For some reason, I am getting a Path/Access Error 75 on this statement: Open "c:\products.txt" For Output As #1 I believe it's due to Access 2010 not having the DAO 3.6 Reference library installed. I clicked the DAO 3.6 Object Library in references, and get "Error loading DLL". (location seems to be: C: \Program Files\Common Files\Microsoft Shared\DAO\dao360.dll". (Which is non existant). I tried to get smart, and run regsvr32 "C:\Program Files (x86)\Common Files\Microsoft Shared\DAO\dao360.dll" which registered successfully, but didn't seem to appear in the references as an available option in MS-Access. DAO is a 32-bit executable and will not load in 64-bit mode. |
|
I believe you will need to run Access in 32-bit mode if you need to use DAO. |
#7
| |||
| |||
|
|
For some reason, I am getting a Path/Access Error 75 on this statement: Open "c:\products.txt" For Output As #1 |
#8
| |||
| |||
|
|
"Bob Barrows" <reb01501 (AT) NOyahoo (DOT) SPAMcom> wrote in news:i2k14m$cfp$1 (AT) news (DOT) eternal-september.org: elias wrote: I've updated one of our a databases to run in Office 2010 x64 w/Win 7 x64. For some reason, I am getting a Path/Access Error 75 on this statement: Open "c:\products.txt" For Output As #1 I believe it's due to Access 2010 not having the DAO 3.6 Reference library installed. I clicked the DAO 3.6 Object Library in references, and get "Error loading DLL". (location seems to be: C: \Program Files\Common Files\Microsoft Shared\DAO\dao360.dll". (Which is non existant). I tried to get smart, and run regsvr32 "C:\Program Files (x86)\Common Files\Microsoft Shared\DAO\dao360.dll" which registered successfully, but didn't seem to appear in the references as an available option in MS-Access. DAO is a 32-bit executable and will not load in 64-bit mode. Er, what? It won't load if you're running 64-bit Access, but it will certainly load for any 32-bit application running under 64-bit Windows. I believe you will need to run Access in 32-bit mode if you need to use DAO. Uh, there are no "modes" -- you either install 64-bit Office or 32-bit Office. Microsoft recommends against using 64-bit Office except for specific purposes (such as needing the extra available memory with huge spreadsheet models). |
#9
| |||
| |||
|
|
"Bob Barrows" <reb01501 (AT) yahoo (DOT) com> wrote in news:XCo3o.30532$xZ2.13807 (AT) newsfe07 (DOT) iad: I had read that it was possible to start IIS in 32-bit compatability mode and came to the incorrect conclusion that it might be possible with Access as well. I know there's a separate link in 64-bit Windows 7 for 64-bit IE, so my assumption is that the other link for IE is 32-bit. That is, there are two differently-compiled versions of IE installed on 64-bit Windows 7, one that is the same as what runs on 32-bit Windows (and in 64-bit Windows with the 32-bit compatibility layer), and the 64-bit version. That MS does not make the 64-bit version the default in 64-bit Win7 suggests to me that it's probably not recommended. |
#10
| |||
| |||
|
|
I had read that it was possible to start IIS in 32-bit compatability mode and came to the incorrect conclusion that it might be possible with Access as well. |
![]() |
| Thread Tools | |
| Display Modes | |
| |