Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access 97 and Office 2007 #Name 1

Status
Not open for further replies.

electricz

Programmer
Mar 17, 2008
2
Hi All,

I have an A97 app which uses the Outlook 11 objects (office 2003) This works great!

When I put the app on a machine with Access 97(to run it) and Outlook 2007. The app picks up the Outlook 12 object but all my display functions of currentuser(), date() and ucase() all display #NAME.

I am really stuck on this one! Can anyone help?
Thanks
 
Have you checked for missing references? (open code module in design view and select tools\references from menu.

Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
UK
 
Here are Doug Steele's instructions on how to troubleshoot the problem:

*** Quote ***

Any time functions that previously worked suddenly don't, the first thing to suspect is a references problem.

This can be caused by differences in either the location or file version of certain files between the machine where the application was developed, and where it's being run (or the file missing completely from the target machine). Such differences are common when new software is installed.

On the machine(s) where it's not working, open any code module (or open the Debug Window, using Ctrl-G, provided you haven't selected the "keep debug window on top" option). Select Tools | References from the menu bar. Examine all of the selected references.

If any of the selected references have "MISSING:" in front of them, unselect them, and back out of the dialog. If you really need the reference(s) you just unselected (you can tell by doing a Compile All Modules), go back in and reselect them.

If none have "MISSING:", select an additional reference at random, back out of the dialog, then go back in and unselect the reference you just added. If that doesn't solve the problem, try to unselect as many of the selected references as you can (Access may not let you unselect them all), back out of the dialog, then go back in and reselect the references you just unselected. (NOTE: write down what the references are before you delete them, because they'll be in a different order when you go back in)

For far more than you could ever want to know about this problem, check out


Just so you know: the problem will occur even if the library that contains the specific function that's failing doesn't have a problem.

**** End Quote ****


The Missinglinq

Richmond, Virginia

There's ALWAYS more than one way to skin a cat!
 
Hi All
Thanks for your response.
There are no missing references.
The outlook 2007(12) reference has replaced the outlook 2003(11) reference and sits there quite happy.
The app shows the functions date(),currentuser() etc if I remove the outlook 2007 reference.
So the problem I have is how to use A97 on a pc with Outlook 2007, as the app needs to email things out.
I assume there is come sort of conflict between Access 97 and Office/Outlook 2007?
It seems a very strange one to me (
Thanks
Gary
 
Hi

Not really so strange, I remember having same (or similar) problem with Access97/Outlook2000, which is why I suggested missing references. It is some time ago, so my memory is hazy about it, but as I recall, it only affected situations where the function(s) (DATE() etc) were used in a query. Again as I recall juggling with the references and library files solved it.

Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
UK
 
Hi

I've got a similar problem (Access 97 and Office 2007 -> all time related functions in Access didn't work) and I noticed that if Word 2000 was parallel installed, everything works fine.

I solved my Problem with manually registered additionally the MSWORD9.OLB in the registry.

I copied the MSWORD9.OLB to
C:\Programme\Microsoft Office 2000\Office

and added the following keys to the registry:

[HKEY_CLASSES_ROOT\TypeLib\{00020905-0000-0000-C000-000000000046}]

[HKEY_CLASSES_ROOT\TypeLib\{00020905-0000-0000-C000-000000000046}\8.1]
@="Microsoft Word 9.0 Object Library"

[HKEY_CLASSES_ROOT\TypeLib\{00020905-0000-0000-C000-000000000046}\8.1\0]

[HKEY_CLASSES_ROOT\TypeLib\{00020905-0000-0000-C000-000000000046}\8.1\0\win32]
@="C:\\Programme\\Microsoft Office 2000\\Office\\MSWORD9.OLB"

[HKEY_CLASSES_ROOT\TypeLib\{00020905-0000-0000-C000-000000000046}\8.1\FLAGS]
@="0"

[HKEY_CLASSES_ROOT\TypeLib\{00020905-0000-0000-C000-000000000046}\8.1\HELPDIR]
@="C:\\Programme\\Microsoft Office 2000\\Office\\"

Joachim Oeding
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top