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

x
?
Solved

How to Copy Reference's?

Posted on 1998-03-05
2
Medium Priority
?
184 Views
Last Modified: 2012-05-04
Greetings,
I have a module that copies a 13.5 meg Access Fornt-end which has a MS SQL backend. This module breaks the links and saves the table info, along with the modules, forms, queries, etc into a standalone .mdb. All of the objects are copied.
My problem is I have an application that needs a refrenece to OLE and Word 8.0 objects and some ActiveX controls and the references aren't copied over.  

If it's not possible to copy the references any other ideas would be appreciated. I just don't want to have to add the reference manually each day.

Thanks,
Brad Hummel
0
Comment
Question by:bhummel
2 Comments
 
LVL 2

Accepted Solution

by:
BigJ earned 100 total points
ID: 1970127
Make sure whatever you copy is compiled, then it should take the references with it. We find the only time references do not get copied from one machine to another is when the contents of the database or module are not compiled.
0
 

Author Comment

by:bhummel
ID: 1970128
Each module is compiled and so is each sub that uses the Word 8.0 Objects. I physically went into each module and compiled them. I think that was overkill but i wanted to be sure. Any other ideas?

Thanks,
Brad
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
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, 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…
Suggested Courses

885 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