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

x
?
Solved

General Question Over Ms Access Reference Libraries, Runtime, and the Such in VBA

Posted on 2016-11-08
2
Medium Priority
?
98 Views
Last Modified: 2016-11-09
I have Access 2016 on some systems and I don't have any Office on some other systems. I am currently using Dymos SDK which uses different references that were installed in Access during the SDK install. My main questions is....When you develop a Front End in Access 2016 with these references and then run them on another PC with Runtime only.  Are the references embed in the Front End and will it still work?

I have had some bugs while running in runtime and in the next few days I am going to try and smooth out the system. It worked perfect on my PC with 2016 where it was developed. I just want to clarify this first. Thanks!
0
Comment
Question by:Dustin Stanley
2 Comments
 
LVL 85

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 2000 total points
ID: 41880294
No, they are not embedded. You must deploy and install any non-native references used in your project. In the case of your SDK, you'd have to determine exactly what files are required for "runtime" and deploy/install those. You may also need other objects with that Dymo feature (the "label" file, if you used one).

You should do this with an installer of some sort. The deployment mechanism in Access is pretty lame, but you could try it to see if it works. You'd be much better off using a commercial installer like InstallShield, Inno Setup, Installmate, etc. One of the most important things an installer does is ensure your target environment has all required files and libraries. It also allows you to easily deploy and install/register items like your Dymo SDK.

If you want to try the built in process see this article for more information:

https://support.office.com/en-us/article/Create-an-Access-app-package-5c409c03-ded9-4a41-82c3-fdd490a91b42?ui=en-US&rs=en-US&ad=US&fromAR=1

I also note you will be deploying to users without Office. If you have a reference to any of the Office libraries other than the Office 16.0 Access database engine Objects, your application will fail. For example, if you're using Excel or Word automation then your end users would be required to have a licensed copy of Office on the machine.

You should also thoroughly test your application in Runtime mode, since it seems you'll be deploying to users without Access installed (or Office, for that matter). You can do that by saving a copy of your application with the .accdr extension, and then run that copy. Access will simulate the Runtime environment.

You should also run a split configuration, where you're supplying a BackEnd (Tables only) and a FrontEnd (everything else). This will require you to have some form of "relink" code, so be aware of that.
1
 

Author Closing Comment

by:Dustin Stanley
ID: 41881621
Thanks!
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
Explore the ways to Unlock VBA Project Password Excel 2010 & 2013 documents. Go through the article and perform the steps carefully to remove VBA Excel .xls file.
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.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Suggested Courses

927 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