473,884 Members | 2,314 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Force my Database to Open with Runtime Only

39 New Member
I have created a simple databse in access 07 now I wan to open it with runtime only even if user having full version of access 07.how I do it. And i want to package and develop my databse with installer so which softwares are needed for it.
May 17 '16 #1
5 6685
Seth Schrock
2,965 Recognized Expert Specialist
There are a couple of ways to do this. First, you can rename your file to have a .accdr file extension. Or you can create a shortcut to the database and change the target to be
Expand|Select|Wrap|Line Numbers
  1. "Path to Access" "Original target path" /Runtime
So an example would be (this is for Access 2010)
Expand|Select|Wrap|Line Numbers
  1. "C:\Program Files\Microsoft Office\Office14\MSACCESS.EXE" "C:\MyDatabase.accdb" /Runtime
May 17 '16 #2
39 New Member
Thank for your response. Seth. . But these are easily undo by user so I want to permanently set db to open with runtime only.
May 18 '16 #3
Seth Schrock
2,965 Recognized Expert Specialist
There is nothing that can't be undone by the user. If you are just trying to protect the database from changes, then you can make the database into an executable file (.accde). It will still open using the full version of Access, but no design changes are allowed. You would need to keep the original file in case there are any bugs that need fixed, but you could just publish the executable file to everyone else.
May 18 '16 #4
39 New Member
Ok and Thank you seth.....
May 18 '16 #5
5,501 Recognized Expert Moderator Expert
*.accde is mostly what I do when I need to protect the design. As Seth pointed out, and I cannot stress enough, make sure you keep a copy of the "developmen t" database. We had an instance where someone "accidently " created the executable version using the only copy of the front-end database... and of course, years later changes needed to be done. Had to rebuild everything from scratch.

+ The downfall of the runtime environment is two fold in that you have to create all of the menus that you want the user to have AND all of your code must have proper error handling. While the latter is something that should be done as good coding practice, the former has become more difficult for the beginning to intermediate programmer with the advent of the "Ribbon" to replace the old menu/command-bars. The executable is a nice compromise with protecting the main interface as well as allowing the user to interact with the common Ribbon tools.
May 20 '16 #6

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

Similar topics

by: Markus | last post by:
Hi, i have this problem: Sometimes, i can't reproduce, if i click on an small image on the website, the popup _AND_ an other Tab in firefox open. Here are the linkcode: <div align="center">
by: Ultima | last post by:
I have searched the group and it seems this question has been asked and answered before, yet I still can't fix it after applying the answers I found. Basically, when I open an existing Excel file, make some changes and save it, I get an error saying that this file is opened as read-only. I have myExcelApplication.Workbooks.Open(ExcelFileName, , ReadOnly:=False) and
by: Spam Catcher | last post by:
Is there a way to open a read-only SQL connection? I like to give the user the ability to write queries but not the ability to update/delete data. I guess I could create a new user account ... but is there a way to specify the read/write state in a SQLConnection or SQLCommand? Thanks!
by: David Mathog | last post by:
Apologies if this is in the FAQ. I looked, but didn't find it. In a particular program the input read from a file is supposed to be: + 100 200 name1 - 101 201 name2 It is parsed by reading the + character, and then sending the remainder into fscanf() like
by: Chris Fairles | last post by:
Possible? Take the following example: =================== //test1.hpp namespace B { typedef int type; void foo() {} } =================== //test.hpp
by: jabslim via DotNetMonster.com | last post by:
excuse me, may i ask on how to open files only in drive "e:\" (which is my usb port for flash drives) using openfiledialog? because in the openfiledialog, even when i set my initialdirectory to drive "e:\", people can still browse other drives(drive c, d, etc. ) so for example, when they insert their flash drives, then they open the openfiledialog, how can i make an error trap on how to let them open files only in their flash drives...
by: gerardianlewis | last post by:
Current problem: main form displays OK at design time, but when executing app all the buttons are displayed in Windows classic style, with 3D borders. Previously, this problem didn't occur. Then what happened was that I started to introduce localization, and at one point added a Resource file to the project which was a copy of the existing default (English) one, with the name changed from Resources.resx to Resources.es.resx, so I could...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
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 we have to send another system
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.