Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Error Exporting From Access Application VBE6EXT.OLB

Posted on 2013-06-11
1
Medium Priority
?
930 Views
Last Modified: 2013-06-12
In an Access 2003 app I have developed, I created a right click (shortcut menu) that I include on all reports.  The options on this menu are all pulled from MS menu's, there is no special coding.  The options are Print',  'Export' and 'Mail Recipient as an attachment'.

This app is used at over 20 installations and these functions have always worked as they should.

I got a call today from a user running Windows XP, that is getting an error when he tries to export.  The entire message is in the attached file but it generally is about a broken reference to 'VBE6EXT.OLB'.  I aksed what changes he made to his computer recently.  Turns out someone tried installing some other kind of software on his computer last week, the problem has since come up.

It seems very clear that the other software caused this issue but he is a long time, very good customer so I am trying to help him out.

Our software is installed using Sagekey and I completely uninstalled it and re-installed it.  Same error.

I did some reading which said that maybe VBE6EXT.OLB had gotten corrupted.  I copied the good file from my machine to his machine and got a new message when I tried to export a report.  Something about the proper components were not available to export Excel, RTF, etc...

When I removed my copy of VBE6EXT.OLB and re-used his, the same old message in the attachment came up.

Any ideas on what I can do to resolve this for him?  I am not a registry editing type of guy but something tells me that might be necessary in this case.

Thanks in advance for any help.VBE6EXT.OLB-Issue.docIn an Access 2003 app I have developed, I created a right click (shortcut menu) that I include on all reports.  The options on this menu are all pulled from MS menu's, there is no special coding.  The options are Print',  'Export' and 'Mail Recipient as an attachment'.

This app is used at over 20 installations and these functions have always worked as they should.

I got a call today from a user running Windows XP, that is getting an error when he tries to export.  The entire message is in the attached file but it generally is about a broken reference to 'VBE6EXT.OLB'.  I aksed what changes he made to his computer recently.  Turns out someone tried installing some other kind of software on his computer last week, the problem has since come up.

It seems very clear that the other software caused this issue but he is a long time, very good customer so I am trying to help him out.

Our software is installed using Sagekey and I completely uninstalled it and re-installed it.  Same error.

I did some reading which said that maybe VBE6EXT.OLB had gotten corrupted.  I copied the good file from my machine to his machine and got a new message when I tried to export a report.  Something about the proper components were not available to export Excel, RTF, etc...

When I removed my copy of VBE6EXT.OLB and re-used his, the same old message in the attachment came up.

Any ideas on what I can do to resolve this for him?  I am not a registry editing type of guy but something tells me that might be necessary in this case.

Thanks in advance for any help.
0
Comment
Question by:mlcktmguy
1 Comment
 
LVL 85

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 1000 total points
ID: 39239511
You might try a repair install of Office/Access. That may fix your references (and the dependency chains for all the references).

However ...

VB6EXT.OLB deals with Visual Basic Extensibility. It's not common to have this reference checked, so are you sure that you need it?

You can check it like this:

1) From the VBA Editor click Debug - Compile. Fix any errors, and continue doing this until the menuitem is disabled.
2) Compact the database
3) From the VBA Editor click Tools - References. Uncheck the reference for the VBA Extensibility library.
4) Now compile again.

If the Compile in Step #4 works, then you don't need the reference. If it does NOT work, then please post back here with the code the compiler finds - I'd be interested in what  production app needs from that library (and there may be other ways to fix this).
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

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…
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
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…
Suggested Courses

876 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