473,511 Members | 10,041 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Does Access runtime work?

I have a database - FE/BE. I want to deploy it on one standalone computer - nothing fancy, no servers, no multiple users. Just take a copy and put it on someone's computer.

I understand that Runtime is simply Access with some bits disabled - those bits that allow people to redesign my work and generally stuff it up. That's pretty cool as far as I am concerned. I also understand that the Package Wizard is not necessary for what I am doing.
However, I am frustrated by the process - no, not the process; it's easy to put it on his computer and get it working - except then it has glitches

Firstly, how do I link FE/BE under Runtime? Pleae note I am not a programmer - I can read VB if I have created something, but I cannot write it. I have seen some answers in code on various sites, but I don't even know what to do with it. In desperation, I Imported the BE into the FE until I get some answers

Secondly, some important bits seem to vanish in Runtime.
I created a Right click Shortcut Menu with things like copy, paste, SpellCheck and email - but SpellCheck and Email won't work - and they are both important actions for this program.

Some simple help would be appreciated
Oct 24 '10 #1
8 5374
colintis
255 Contributor
The runtime version is actually something to allow a PC to open a access database, that's all and nothing else. You can't see tables nor navigation panel in runtime as well, so simply a default menu window(a form) is necessary on open. The runtime itself also contains trust center settings, but those need batch file codings which tuned the register stuffs.

So, to setup FE/BE environment into another PC with different file path and etcs. You'll need to step into the VBA coding to design a system preference, asking user to locate the BE file, change the link table's link path. If the user is not placing the BE database to somewhere strange, you can simply place the BE in a location where both the user and your PC exist (e.g. C:\Program files\), so that you don't need to worry about setting up the new location for the BE file.

To those spell check and email functions, it may not be possible as runtime doesn't contains additional stuff other than opening the database. You may try placing some codes and buttons to make the events.

Another case, if the user is able to install a full version, in preventing modification on your database design, you can export the FE as a ACCDE file, this is somehow a "execute only" version from your original FE database.
Oct 25 '10 #2
Thanks for your reply. I hadn't thought of saving to C:\Program files - that should solve my first problem, linking FE to BE.
Albert D. Kallal (Access MVP)Edmonton, Alberta Canada says "The runtime is simply a full version of MS access with some of the design tools removed, but for the most part it's behaviors much the same as when you install the full version.
You don't have to use the package wizard to actually deploy and installed your software, **once** you have the runtime installed. Thus, you can simply copy the file to that computer, and then double click on mdb, or accDB file to launch it (the same as if you had the full version of MS access installed)." This made me believe that items I created, such as shortcut menus, would work. Alas, it seems I am mistaken, but one wonders what Microsoft is thinking if they distribute Runtime and it won't let basic functions operate - there's little point really.
Oct 27 '10 #3
colintis
255 Contributor
In his term of "a full version of MS access with some of the design tools removed", this includes all ribbon tabs as well. You still can comply the functions you want to the user, by making buttons on the form and some VBA codings. Similar to installing PC games, you'll notice all the games might included a installation choice of directX "runtime", this allows you to execute the game with something requires the directX software, never expect you to use it to make error checks or other functions.
Oct 28 '10 #4
The ribbon tabs don't worry me; I put everything my user will need on the screens as buttons, and I have made shortcut menus using macros.
Originally, I combined FE/BE to get it to work under Runtime. Most things worked just fine; the only probems were two IMPORTANT items on the Shortcut menus - Spellcheck and SendObject (as pdf to email). I am told that the Spellcheck won't work because it doesn't come with Runtime - I would have thought Microsoft programs would use a common Spellchecker.

As you advised, I put the BE at c:\Program Files\mydatabasefolder\mydatabase and created the links, then replicated that on the runtime computer.
Disaster!
The main screen has four buttons which call up other screens. No problem. Open the Sales Screen, click on FindSale, and up pops the records of an existing sale. Click to ADD a new sale and everything goes haywire; three messages, which basically sum up as "something is wrong with macro or VBA, or something else is going on at the same time",and then the program shuts down. Re-open and check other buttons, and the same thing happens - button after button closes the program; except, strangely, it allows me to open a report, and even more amazingly, it will let me email that report as a pdf.

I am now further behind because the program really doesn't work at all. I can see myself returning to a one-piece database - then at least it works.
Any suggestions?
Thanks
Oct 29 '10 #5
colintis
255 Contributor
Have you tried using On error goto to output the error code and description in a message box when error occurs? as runtime never shows the details on what's actually happening in the errors.
Oct 29 '10 #6
Thanks Colin, but I am not at all confident as to how to do that.
Something I read in the last day or so showed how to convert macros to VBA, which I have done. Don't know if it works or not, as I don't haver access to the Runtime computer at the moment, but did find that I cannot convert Addmenu macros, so I wonder how much use it will be.
Oct 31 '10 #7
colintis
255 Contributor
The On Error Goto is within the VBA functions, it'll be something like this
Expand|Select|Wrap|Line Numbers
  1. Sub xxxx()
  2. On Err Goto xxxx_err
  3.     (Your codes in here)
  4. xxxx_err:
  5.     Msgbox "Error " & Err.Number & ", " & Err.Description
  6.     Exit Sub
  7. End Sub
It'll capture any errors occur under the On Err Goto statement
For the macro tips, here's a link.
Nov 2 '10 #8
I create macros, which I do read are a problem to developers wqho advise you should always use VBA, so I went looking to find out how to convert my macros to VBA and found http://www.aspfree.com/c/a/Microsoft...cess-Macros/4/
So I converted my macros - but now what do I do with them?
How do I attach them? I tried replacing my macro links with "Event procedure", then copying the relevant data from my converted macros to the new VBA procedure. However, when I click on a button, a VBA window pops up and tells me "Compile Error - expected End Sub" - then highlights the first line - in this case "Private Sub AddContact_Click()" and so it goes with each button.
Nov 11 '10 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

3
7796
by: John Phelan | last post by:
I was under the impression that if I package my software with Access Runtime and made certain that end-users opened my program with the "/runtime switch", they would be using MY installed version...
3
3844
by: Siggy | last post by:
I have made an Access runtime installation with Installshield Express 5. It works good, but I can't figure out how to implement the runtime swich in the shortcut. Any ideas?? Sigurd
1
2368
by: Tobias Zimmergren | last post by:
Hi. I've got the Access Runtime from the Microsoft Office 2000 Developer. I used to run it with Windows NT 4.0 and Office 2000. The operating system Windows NT4.0 is a Swedish version, and so...
0
1043
by: Brett | last post by:
We have an access runtime application 2002 that has been tested on a number of xp machines and works correctly. the same application was installed on an xp machine that appeared to install...
5
15102
by: Nathan Bloom | last post by:
Hi, I have a secured database that runs fine on the computer the database is installed on. I have several workstations with access runtime installed that also need access to the database. ...
1
2349
by: Orjan | last post by:
In my applikation I have images in a separate folder and those images are linked to the database by using code. One customer who is running the applikation by using Access Runtime claims that the...
3
4055
by: Bob Dydd | last post by:
Hi Everybody I have an Access 2000 db with a setup for inserting images in records. I am using the image path only with the actual images stored elswhere on the hard disc. This works perfectly...
7
6323
by: TSanders | last post by:
Wize ones: I created an Access database for a local telco that is split into a front and back end. I would like to distribute the Access runtime along with the front end. When I use the front...
3
6759
by: Simple Man | last post by:
We have a citrix server that users will be signing into from a remote location. One application is an Access database. Right now, lan users are using the Access 2003 runtime to run these...
3
7765
by: enough2Bdangerous | last post by:
access runtime error 3011 on docmd.openreport -------------------------------------------------------------------------------- Access database (file format 2002-2003) generates reports with...
0
7251
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7148
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7430
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7517
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5673
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5072
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4743
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3230
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1581
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.