M
MCB1
I have written a database in Access/VBA, (Windows 98; Access 97 SR-1). I
have now moved it onto an XP PC, and converted it to Access 2002 SP3. It runs
and compiles fine on my PC. I have 'secured' it by making it into an mde
file, having removed the startup options and allocated a dummy menu bar that
has no items on it, (ie no one can get at any of the Access menu/shortcut
items). The startup form controls all the contained forms and functionality.
The main tables are split out to a seperate back end file on our network.
I have put the mde front end on to various PC's, and all seems well on
most of them. On other PC's I seem to be having a problem. On those PC's I
have put the un-compiled mdb file so I can debug, (the original mde flags a
message box saying it can't find a reference).
When I try to compile the mdb file on the suspect PC's, a message comes
up saying 'Your Microsoft Access Database or Project Contains a Missing or
Broken Reference to the File OWC10.dll ver 1.1'
This is then followed by an error for the 'Date' function, syaing it
can't find the Project or Lirary...
When I go into the references, there is a tick against
'MISSING:Microsoft Office XP Web Components' and the location given for the
missing file is 'C:\Program Files\Common Files\Microsoft Shared\Web
Components\10'. If I de-select the ref to the 'MISSING' file and scroll down
the list of references to select it, (as given in the Access help file), it
is not listed. I have checked the location path above, and the dll is exactly
where its supposed to be...
If I use the browse button on the references to point at the dll, the
mdb file then works fine. It will compile ok into the mde on that machine,
and that then works, including solving of the error for the 'Date' function,
(what the date function has to do with OWC10.dll is a mystery to me!). The
original mde still does not work. I do not want to have to re-compile on each
PC that gives me this problem, and I can't change the reference in the
pre-compiled version.
It seems that Access on my PC, and the PC's it originally worked on have
SP3 installed in the Access 'Help>About box', where as the other PC's do not.
Is this the cause of the problem? (Although I still don't understand why it
says that the reference is missing, when the OWC10.dll is in the correct
place...)
The strange thing about all this is that the original project in Access
97 only had references to 'Visual Basic For Applications', 'Microsoft Access
8.0 Object Library', 'Microsoft DAO 3.51 Object Library', and 'Microsoft
Common Dialog Control 6.0'. But the conversion in Access 2002 SP3 has added,
(seemingly of its own accord!?), additional references to 'OLE Automation',
'Microsoft Visual Basic for Applications Extensibility 5.3', and the
'Microsoft Office XP Web Components'.
Can anyone explain why these seemingly not required references have been
added automatically by Access 2002 when it has done the conversion? (or if
there is a reason why they are required...)
have now moved it onto an XP PC, and converted it to Access 2002 SP3. It runs
and compiles fine on my PC. I have 'secured' it by making it into an mde
file, having removed the startup options and allocated a dummy menu bar that
has no items on it, (ie no one can get at any of the Access menu/shortcut
items). The startup form controls all the contained forms and functionality.
The main tables are split out to a seperate back end file on our network.
I have put the mde front end on to various PC's, and all seems well on
most of them. On other PC's I seem to be having a problem. On those PC's I
have put the un-compiled mdb file so I can debug, (the original mde flags a
message box saying it can't find a reference).
When I try to compile the mdb file on the suspect PC's, a message comes
up saying 'Your Microsoft Access Database or Project Contains a Missing or
Broken Reference to the File OWC10.dll ver 1.1'
This is then followed by an error for the 'Date' function, syaing it
can't find the Project or Lirary...
When I go into the references, there is a tick against
'MISSING:Microsoft Office XP Web Components' and the location given for the
missing file is 'C:\Program Files\Common Files\Microsoft Shared\Web
Components\10'. If I de-select the ref to the 'MISSING' file and scroll down
the list of references to select it, (as given in the Access help file), it
is not listed. I have checked the location path above, and the dll is exactly
where its supposed to be...
If I use the browse button on the references to point at the dll, the
mdb file then works fine. It will compile ok into the mde on that machine,
and that then works, including solving of the error for the 'Date' function,
(what the date function has to do with OWC10.dll is a mystery to me!). The
original mde still does not work. I do not want to have to re-compile on each
PC that gives me this problem, and I can't change the reference in the
pre-compiled version.
It seems that Access on my PC, and the PC's it originally worked on have
SP3 installed in the Access 'Help>About box', where as the other PC's do not.
Is this the cause of the problem? (Although I still don't understand why it
says that the reference is missing, when the OWC10.dll is in the correct
place...)
The strange thing about all this is that the original project in Access
97 only had references to 'Visual Basic For Applications', 'Microsoft Access
8.0 Object Library', 'Microsoft DAO 3.51 Object Library', and 'Microsoft
Common Dialog Control 6.0'. But the conversion in Access 2002 SP3 has added,
(seemingly of its own accord!?), additional references to 'OLE Automation',
'Microsoft Visual Basic for Applications Extensibility 5.3', and the
'Microsoft Office XP Web Components'.
Can anyone explain why these seemingly not required references have been
added automatically by Access 2002 when it has done the conversion? (or if
there is a reason why they are required...)