Solved

MSOWCF.DLL with Office11

Posted on 2006-10-27
8
1,887 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
[X]
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
  • 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
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 
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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
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 …
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

710 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