Solved

MSOWCF.DLL with Office11

Posted on 2006-10-27
8
1,865 Views
Last Modified: 2008-01-09
I have an access database that references MSOWCF.DLL and in some cases the reference works and in cases where the user is on Office11 (name of the Program Files/Microsoft Office directory), it shows as a broken link.  How do I handle this?  I have one user with Office11 and another user on Office 2002?
0
Comment
Question by:msanzenb
  • 6
  • 2
8 Comments
 
LVL 65

Expert Comment

by:rockiroads
ID: 17819959
Where have u placed MSOWCF.DLL in the version that works?
Im wondering whether u take a copy and place in the windows directory or some predefined directory e.g. c:\mydlls
then register and reference that dll
0
 

Author Comment

by:msanzenb
ID: 17819989
MSOWCF.DLL is nowhere to be found on my office11 machine.  On the office10 machine it is found in the office10 directory.  When I completely remove the reference on the office11 machine the application works, but I'm worried that it won't work on the office10 machine if I remove it.
0
 
LVL 65

Expert Comment

by:rockiroads
ID: 17820009
The other way of course is to del and readd the reference

When u go into Tools/References, what is the name given to this DLL?

e.g.

'Remove existng
References.Remove References("Name Of My DLL")

'Add again
References.AddFromFile sOfficeDir & \MSOWCF.DLL"


now sOfficeDir is a variable, u can check for its existence using predefined directories
eg

sOfficeDir = ""
If dir$("c:\program files\microsoft office\office\MSOWCF.DLL") <> "" then
    sOfficeDir = "c:\program files\microsoft office\office\MSOWCF.DLL"
elseif dir$("c:\program files\microsoft office\office10\MSOWCF.DLL") <> "" then
    sOfficeDir = "c:\program files\microsoft office\office10\MSOWCF.DLL"
elseif dir$("c:\program files\microsoft office\office11\MSOWCF.DLL") <> "" then
    sOfficeDir = "c:\program files\microsoft office\office11\MSOWCF.DLL"
end if

Well something along these lines anyway
0
 
LVL 65

Expert Comment

by:rockiroads
ID: 17820016
Did u check

c:\program files\microsoft office\office   ?
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 65

Expert Comment

by:rockiroads
ID: 17820027
also in the windows system32 directory?
0
 
LVL 65

Accepted Solution

by:
rockiroads earned 500 total points
ID: 17820040
Is this DLL not the office web components? Perhaps it was not installed as part of their office install
0
 

Author Comment

by:msanzenb
ID: 17820133
I removed the reference and that worked...thanks!
0
 
LVL 65

Expert Comment

by:rockiroads
ID: 17820170
Cool
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

It took me quite some time to sort out all the different properties of combo and list boxes available from Visual Basic at run-time. Not that the documentation is lacking: the help pages are quite thorough and well written. The problem was rather wh…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

706 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now