Question

Access 2003. Microsoft Office Document Imaging Viewer Control ocx fail with "There is no object in this control"

Asked by: jpgeorge

I'm using the ocx "Microsoft Office Document Imaging Viewer Control" for displaying faxes in an Access 2003 form.

Since one week the ocx fail to show anything (on all the pc I test). Accessing the ocx from vba code give the following error message : "There is no object in this control".

I tried to register MDIVWCTL.DLL (the ocx file) without success.

Office 2003 is patched with SP3 and the last autoupdate patches.

Does have anybody any idea ?

Thanks for your help

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-08-18 at 00:31:31ID24660597
Tags

Microsoft Office 2003

,

Microsoft Office Document Imaging Viewer Control

,

Access 2003

Topic

Microsoft Access Database

Participating Experts
3
Points
500
Comments
27

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. OCX
    What exact;y is an ocx file???
  2. ocx file
    Given a .ocx file (e.g. foo.ocx) and nothing else (no docs), how can i determine what functionality it provides? thru MS VC++?
  3. TIFF manipulation OCX
    Please, Do you know a free ocx to MultiTIFF manipulation? Thanks all. Daniel

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: cactus_dataPosted on 2009-08-18 at 01:04:21ID: 25120873

You may have met the pleasures of the "Compatibility Flag". These are listed in the registry:
HKLM\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\

It is about how Internet Explorer blocks many ActiveX (OCX) controls in Access 2003+.
The error message in Access is that "Access doesn't support this control" or that "object cannot be found" or a similar useless message.

So how to deal with this if a long running application refuses to run?
On your machine 500+ controls may be listed but only by their GUID.
This excellent tool, ActiveXHelper, comes to rescue:

  http://www.nirsoft.net/utils/axhelper.html

On Vista you, of course, have to run it as administrator.

/gustav

 

by: jpgeorgePosted on 2009-08-18 at 01:23:29ID: 25120966

Not this time :-)

I tested with the program you provide a link to and the control is "enabled" and without missing file.



 

by: cactus_dataPosted on 2009-08-18 at 01:35:32ID: 25121014

Then the only options left are some licensing issue or that it shouldn't be registered properly in your app.

Go to Tools, References and check that no one is marked MISSING. If so, correct; if not, remove a reference and add it back.

/gustav

 

by: jpgeorgePosted on 2009-08-18 at 01:53:08ID: 25121099

No reference is marked as missing, and I had already tested removing / adding the reference without luck.

I also tried to make a new database, create a form, drop the control and open the form. It's enough to have the error message : "There is no object in this control".

I also regsvr32 all the dll in C:\Program Files\Common Files\Microsoft Shared\MODI\11.0 without much success.

I also add that this problem on all the pc which use this program (~10).

 

by: jpgeorgePosted on 2009-08-18 at 02:10:32ID: 25121183

Last line of my previous comment must read as:

I also have this problem on all the pc on which this program is used (~10).

 

by: cactus_dataPosted on 2009-08-18 at 02:19:27ID: 25121242

It may not be enough to register the control. If part of MS Office, a repair of the installation may be needed.

Still, the most likely thing is that the machines have had IE updated and the compatibility flag has been set.
I would doublecheck the setting in the registry. Note you need admin rights to modify.

/gustav

 

by: jpgeorgePosted on 2009-08-18 at 02:23:29ID: 25121261

Thanks for your help.

OK, I will double check the compatibility flag and try a repair, but will need some time to do it.

 

by: jpgeorgePosted on 2009-08-18 at 07:48:59ID: 25123815

The activex control "Microsoft Office Document Imaging Viewer" (GUID : {EF347A62-BA21-42E4-94A0-1C0A6D7FDFE7}) doesn't appear in HKLM\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility. So shouldn't have been blocked by ie.

Office 2003 Repair doesn't solve the problem either.

 

by: cactus_dataPosted on 2009-08-18 at 09:06:26ID: 25124680

Strange. The controls doesn't seem to exist in the registry at all.

I created a simple form with the control with no issues.

The control exists as well as a separate download:
http://www.microsoft.com/downloads/details.aspx?FamilyID=8f93e445-b1cf-4477-a373-e17417d616bc&displaylang=en

Apart from that I'm out of ideas.

/gustav

 

by: JDettmanPosted on 2009-08-18 at 09:30:29ID: 25124981

Try cutting then pasting the control back in.  You will often see this message when there is a versioning problem.  I'd also make sure you only have one instance of the lib and it's the one that is registered.

JimD.

 

by: jpgeorgePosted on 2009-08-18 at 12:02:55ID: 25126395

@Gustav

The control exists in the registry under HKEY_CLASSES_ROOT\CLSID\{EF347A62-BA21-42E4-94A0-1C0A6D7FDFE7}.

My DLL version is 11.0.8166.2, what's your working one ? Maybe the last patch from ms broke it ?

The link you provide give only two html files, it's only documentation on the use of MODI.

Out of ideas too ...

 

by: jpgeorgePosted on 2009-08-18 at 12:10:28ID: 25126467

@JimD

As stated above I tried to create a new database, with a new form, and the non working control without success ... So cut and paste could have been a solution, but not in this case.

I made a search of MDIVWCTL.DLL and find three:
one in C:\Program Files\Common Files\Microsoft Shared\MODI\11.0 (registry confirmed that's it's the used one)
one in C:\WINDOWS\Installer\$PatchCache$\Managed\9040110900063D11C8EF10054038389C\11.0.5614
and on in C:\WINDOWS\Installer\$PatchCache$\Managed\9040110900063D11C8EF10054038389C\11.0.8173

The last two are used by office installer so I hope they are safe to keep (at least they are unsafe to delete ...).

Thanks for your suggestion.

As it's 9PM, I hope that tomorrow will come with solutions !

 

by: cactus_dataPosted on 2009-08-18 at 12:16:49ID: 25126527

Yep, it is there, but it is version 12 as you can see.
Don't know why the search didn't reveal it first time.

My versions are:
11: 11.0.8166.2
12: 12.0.6421.1000

Both can be referenced. However, in design mode ver. 12 is used, I guess, since it is the registered version.

/gustav

Windows Registry Editor Version 5.00
 
[HKEY_CLASSES_ROOT\CLSID\{EF347A62-BA21-42E4-94A0-1C0A6D7FDFE7}]
@="Microsoft Office Document Imaging Viewer Control 12.0"
 
[HKEY_CLASSES_ROOT\CLSID\{EF347A62-BA21-42E4-94A0-1C0A6D7FDFE7}\AuxUserType]
 
[HKEY_CLASSES_ROOT\CLSID\{EF347A62-BA21-42E4-94A0-1C0A6D7FDFE7}\AuxUserType\2]
@="MODI Viewer"
 
[HKEY_CLASSES_ROOT\CLSID\{EF347A62-BA21-42E4-94A0-1C0A6D7FDFE7}\AuxUserType\3]
@="Microsoft Office Document Imaging Viewer Control"
 
[HKEY_CLASSES_ROOT\CLSID\{EF347A62-BA21-42E4-94A0-1C0A6D7FDFE7}\Control]
 
[HKEY_CLASSES_ROOT\CLSID\{EF347A62-BA21-42E4-94A0-1C0A6D7FDFE7}\InprocServer32]
@="C:\\PROGRA~1\\FLLESF~1\\MICROS~1\\MODI\\12.0\\MDIVWCTL.DLL"
"ThreadingModel"="Apartment"
 
[HKEY_CLASSES_ROOT\CLSID\{EF347A62-BA21-42E4-94A0-1C0A6D7FDFE7}\Insertable]
 
[HKEY_CLASSES_ROOT\CLSID\{EF347A62-BA21-42E4-94A0-1C0A6D7FDFE7}\MiscStatus]
@="0"
 
[HKEY_CLASSES_ROOT\CLSID\{EF347A62-BA21-42E4-94A0-1C0A6D7FDFE7}\MiscStatus\1]
@="131473"
 
[HKEY_CLASSES_ROOT\CLSID\{EF347A62-BA21-42E4-94A0-1C0A6D7FDFE7}\ProgID]
@="MiDocViewer.MiDocView.1"
 
[HKEY_CLASSES_ROOT\CLSID\{EF347A62-BA21-42E4-94A0-1C0A6D7FDFE7}\Programmable]
 
[HKEY_CLASSES_ROOT\CLSID\{EF347A62-BA21-42E4-94A0-1C0A6D7FDFE7}\ToolboxBitmap32]
@="C:\\PROGRA~1\\FLLESF~1\\MICROS~1\\MODI\\12.0\\MDIVWCTL.DLL, 101"
 
[HKEY_CLASSES_ROOT\CLSID\{EF347A62-BA21-42E4-94A0-1C0A6D7FDFE7}\TypeLib]
@="{A5EDEDF4-2BBC-45F3-822B-E60C278A1A79}"
 
[HKEY_CLASSES_ROOT\CLSID\{EF347A62-BA21-42E4-94A0-1C0A6D7FDFE7}\Version]
@="12.0"
 
[HKEY_CLASSES_ROOT\CLSID\{EF347A62-BA21-42E4-94A0-1C0A6D7FDFE7}\VersionIndependentProgID]
@="MiDocViewer.MiDocView"
                                              
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:

Select allOpen in new window

 

by: cactus_dataPosted on 2009-08-18 at 14:33:29ID: 25127901

Well, I tried on my Vista machine with A2007 to add the Compatibility Flag for the control and that does take control.

Try to add the key below. When the value is set as shown (0) the control is operational; when set to 400 it is blocked.

/gustav

Windows Registry Editor Version 5.00
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{EF347A62-BA21-42E4-94A0-1C0A6D7FDFE7}]
"Compatibility Flags"=dword:00000000
                                              
1:
2:
3:
4:

Select allOpen in new window

 

by: GrahamMandenoPosted on 2009-08-18 at 19:56:28ID: 25129336

Hi jpgeorge

I believe this is a problem that was introduced by the security update KB973507.  More info here:
http://support.microsoft.com/default.aspx/kb/973507

The security bulletin and the KB article don't explicitly refer to MDIVWCTL.DLL, but I have managed to reproduce the problem you describe by installing this update.

In the mean time, I suggest you uninstall the KB973507 update.  This should get your app working again while MS sorts out the problem.

--
Graham Mandeno (Access MVP)

 

by: cactus_dataPosted on 2009-08-19 at 00:58:47ID: 25130401

Security update KB973507 is installed on my machine so at least in some cases its presence has no impact.

Could it be that security in your IE is set to block any and all ActiveX components?

/gustav

 

by: GrahamMandenoPosted on 2009-08-19 at 04:15:43ID: 25131358

Hi Gustav

No, my IE certainly allows ActiveX components.  I'm waiting to see if someone at MS can confirm/deny this theory.  

I know it worked for me

  • create form with MDIVWCTL - it works 
  • install KB973507 - it breaks 
  • uninstall KB973507 - it works again 

--
Cheers,
Graham

 

by: cactus_dataPosted on 2009-08-19 at 04:38:24ID: 25131468

Interesting. However, I had George's IE in mind.

/gustav

 

by: jpgeorgePosted on 2009-08-19 at 06:51:11ID: 25132570

Hi Graham

Removing KB973507 solved the problem on my pc !

I still have to check on the pc of my customers to be sure. I will do this test tomorrow.

JP

 

by: jpgeorgePosted on 2009-08-19 at 06:59:50ID: 25132682

Hi Gustav,

Thanks for your help.

Just for the record.

I'll try to add ActiveX compatibility flag as you said, but it doesn't make any good.

Maybe it works on your pc, because your use Vista with Office 2007 and 2003. So the activex you used was the one of Office 2007 and was not break by KB973507.

I'm still using WinXP and Office 2003, so maybe KB973507 breaks the activex only in this situation.

JP

 

by: cactus_dataPosted on 2009-08-19 at 07:16:32ID: 25132891

No, on my IntelliStation at work I have WinXP with all updates including KB973507 and Access 2003 (well, in fact any version between 2.0 and 2007) and IE8.

Did you check the ActiveX settings in IE?
Which version of IE do you run?

/gustav

 

by: cactus_dataPosted on 2009-08-19 at 07:38:16ID: 25133186

Have a look at page 12+ here:

http://hustlelabs.com/stuff/bh2009_dowd_smith_dewey.pdf

/gustav

 

by: GrahamMandenoPosted on 2009-08-19 at 14:27:17ID: 25137556

Hi JP

Excellent!  I'm glad to have been able to help out.

I'm not generally a fan for uninstalling security patches, but I can't see a way around this one... yet!

I haven't been around EE for long enough to know for sure, but I guess I can post back here if a solution turns up, even after the question is closed.  I assume the solution will be in the form of an Office update.

--
Graham

 

by: cactus_dataPosted on 2009-08-19 at 23:42:50ID: 25139782

You can. Please do.

/gustav

 

by: jpgeorgePosted on 2009-08-20 at 05:39:11ID: 25141651

HI Gustav,

I'm using IE 8.

I made some tests:

Remove KB973507
Control is working
Added the HKLM\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\Compatibility Flags with value of 0x400 (to break it)
Control is not working (as expected)
Change the value of the Compatibility Flags to 0
Controls is working
Install KB973507
Control is not working
Check that the compatibility flag is still set to 0. It is.
Add the value HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Ext\Stats\{CLSID}\iexplore\AllowedDomains\* (as written in the pdf you linked to)
Control is not working
The error message is always the same : "There is no object in this control"

I never had a chance to see the control in IE8.ManageAddOns.

So if I understand it well, you have two pcs, one with vista, the other with xp. Both have at least Access 2003 and Access 2007. Both use version 12 of the control.

So I think that version 11 is broken with KB973507 and version 12 works.

I made more or less the same test on 3 customers pcs, which used IE 6 (which I upgraded to IE8 after tests), IE 7 and IE8.

All those pcs used WinXP and Office 2003.

Removing KB973507 on all pcs solved the problem. I agree with Graham that it's not a so great solution, but I think it will be the right one for the moment until MS provides a patch for Office.

Thanks for your help.

If I have news I will post them here.

 

by: jpgeorgePosted on 2009-08-20 at 05:43:00ID: 31616936

Complete is partially, beacause it consists of uninstalling a patch. So hopefully another patch will make the answer complete

 

by: cactus_dataPosted on 2009-08-20 at 05:47:04ID: 25141742

> So I think that version 11 is broken with KB973507 and version 12 works.

That seems likely.
Thanks for the feedback.

/gustav

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...