Solved

MSOWCF.DLL with Office11

Posted on 2006-10-27
8
1,885 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 65

Expert Comment

by:rockiroads
ID: 17820016
Did u check

c:\program files\microsoft office\office   ?
0
 
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …

740 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