Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Object Library name conflict

Posted on 2007-11-23
9
447 Views
Last Modified: 2008-02-01
I have developed an Access database using Access 2003 for a client.

The client is running the database on Access 2002.

I have built some custom code for emailing from the database and creating Word docs.  All works fine on my machine.
In the past I have had to talk the client through unticking references in the Tools menu of VB so that the software would work properly.  And up to now that has been fine.  Today this is not possible error message:
"Name conflicts with existing.... etc"

is produced when trying to untick the references.
The client's machines have Microsoft Word/Outlook 10.0 Object Library and mine has version 11.0

What to do?
0
Comment
Question by:markremms
  • 4
  • 3
9 Comments
 
LVL 92

Expert Comment

by:Patrick Matthews
ID: 20338537
Hello markremms,

> What to do?

I try to go with late binding whenever I have to do OLE automation of one Office app from another.
This mitigates the problems you may run into when your users are on a different version of
Office than the developer.

A quickie summary on the pros and cons:
http://word.mvps.org/FAQs/InterDev/EarlyvsLateBinding.htm

If you need some hints on how to convert your current code, please post what you have.

Regards,

Patrick
0
 

Author Comment

by:markremms
ID: 20338572
Yes - that's what I've done.  So I don't understand why I'm getting the error
0
 
LVL 92

Expert Comment

by:Patrick Matthews
ID: 20338612
markremms,

Did you remove the Word reference?

Regards,

Patrick
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 

Author Comment

by:markremms
ID: 20338615
Have written a batch file for the client to decompile the application in their environment.  Waiting to hear if that works....
0
 

Accepted Solution

by:
markremms earned 0 total points
ID: 20338878
Turned out not to be the object library that was the problem but oddly the use of the date function.  By using the Now() function instead the problem is solved.  An earlier version of the same dataabse works fine with the Date function,  I don't think I've made any changes that would cause this....but I must have done something..
0
 

Author Comment

by:markremms
ID: 20338891
Note to self:

Just because you think your client on the other end of the phone says a problem is a certain way doesn't mean it really is.
0
 
LVL 92

Expert Comment

by:Patrick Matthews
ID: 20345601
Vee_Mod,

No objection here :)

Regards,

Patrick
0
 
LVL 1

Expert Comment

by:Computer101
ID: 20362879
Closed, 500 points refunded.
Computer101
EE Admin
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question