473,786 Members | 2,445 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Hiding the Access 2013 Application during database use...

49 New Member
how in the world do i hide the database window? The thing takes up the whole screen, all my users need are the forms I created... used to be a check box that would let you not display the application... that feature seems to be gone in 2013 =/
Dec 30 '14
23 11024
sooli
49 New Member
well, the sql option is not really an option - I have the file on the server it resides locked down so no one on the outside can get in, but what I am having issues with now is the pesky navigation screen giving access to all the tables if a user happens to figure out how to bring it back. All the linked tables are accessible if the navigation pane is unlocked, which is easy to do, just hold shift while opening the front end. I only have 2 groups of folks, Admins and the users... and I have that separated by a password. I discovered I could hide the linked tables from view if the navigation pain happens to be unlocked... just wasn't sure if it would cause any issues. Being that I work 3rd shift, and the only other person I can use as a guinea pig is a "user" I didn't want to go that route to verify it would still provide access to input like it is supposed to. It looks like it works... so I guess I'll just give it a run for a little while and see how it goes.

In order for my users to be able to input data, they have to have read write access to the folder the database is in right? And even if I could modify that, I don't think it has any bearings on their ability to open the "linked" tables in the application.

Thanks everyone for your input and suggestions... IF anyone figures out a work around for the AERO PEEK issue... please let me know.
Mar 23 '15 #21
twinnyfo
3,653 Recognized Expert Moderator Specialist
Try this:

Expand|Select|Wrap|Line Numbers
  1. Public Sub DisableByPass()
  2.     ChangeProperty "AllowBypassKey", dbBoolean, False
  3. End Sub
  4. Private Function ChangeProperty(strPropertyName As String, _
  5.     varPropertyType As Variant, varPropertyValue As Variant) As Integer
  6. On Error GoTo Err_ChangeProperty
  7.     Dim dbACC As DAO.Database
  8.     Dim prpProperty As Property
  9.  
  10.     Set dbACC = CurrentDb()
  11.  
  12.     'Property exists, so set its Value
  13.     dbACC.Properties(strPropertyName) = varPropertyValue
  14.     ChangeProperty = True
  15.  
  16. Exit_ChangeProperty:
  17.     Set dbACC = Nothing
  18.     Exit Function
  19.  
  20. Err_ChangeProperty:
  21.     If Err.Number = 3270 Then       'Property not found
  22.         'Since the Property isn't found, create it!
  23.         Set prpProperty = _
  24.             dbACC.CreateProperty(strPropertyName, varPropertyType, varPropertyValue)
  25.         dbACC.Properties.Append prpProperty
  26.         Resume Next
  27.     Else
  28.         'Unknown Error
  29.         ChangeProperty = False
  30.         Resume Exit_ChangeProperty
  31.     End If
  32. End Function
This will disable the Shift-Key workaround.
Mar 23 '15 #22
Rabbit
12,516 Recognized Expert Moderator MVP
Because of the nature of Access, anything that you do can be undone by a user. Even disabling the shift key bypass.

Because of this drawback to Access, it is highly recommended not to use Access if there is a real need for security.
Mar 23 '15 #23
NeoPa
32,578 Recognized Expert Moderator MVP
Making the Database Window hidden via code can be done by first selecting something in the window, then hiding that window. Here's some code for that :
Expand|Select|Wrap|Line Numbers
  1. Call Application.Echo(EchoOn:=False)
  2. Call DoCmd.SelectObject(ObjectType:=acForm, InDatabaseWindow:=True)
  3. Call DoCmd.RunCommand(Command:=acCmdWindowHide)
  4. Call Application.Echo(EchoOn:=True)
This uses calls to Application.Ech o() because when this code is run when the window is already hidden it can cause a flicker.
Oct 21 '15 #24

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

Similar topics

10
1804
by: skiz | last post by:
I have an application written in ms access 97. Just recently certain queries have been giving various errors -- one of which is "there was an error executing the command". When I ran the application in access 2000, no errors occurred. Any ideas? If I open the database file in 2000 it asks me if I want to convert the database -- so, I know that it is still a 97 database. Thanks! skiz
6
2251
by: SteveS | last post by:
Hello All. I have an asp.net application with 3 different assemblies. They are like this: 1) Assembly: PublicSite (This contains the website UI) Root namespace: PublicSite 2) Assembly: PublicSite.MyProfile.Business (This contains the business rules) Root namespace: PublicSite
3
2125
by: George H. Slamowitz | last post by:
Hello All I am trying to convert a MS Access 2000 application to a VB application (Just Started Yesterday) I am using Visual Studio .NET 2003 utilizing Visual Basic .NET I think I have a good feel to what I have to do, but does anyone know of a GOOD white paper on what is involved, pitfalls, etc?
22
6287
by: Jordan S. | last post by:
SQL Server will be used as the back-end database to a non trivial client application. In question is the choice of client application: I need to be able to speak intelligently about when one client (MS Access vs ..NET Windows Forms) would be preferred over the other. While I have some good arguments on both sides, I would appreciate your points of view on the topic.
5
3210
by: BA | last post by:
Hi there I am trying to write an "application" in Access 2000, that displays a front end and allows the user to interact with the database without seeing Access loaded, in the background, nor on the taskbar. When I click on the generate report button, from the front-end's form, no report/query is displayed. However, if i disable the code that "hides" Access, the reports and queries work perfectly. How do I get this functionality...
1
1450
mikek12004
by: mikek12004 | last post by:
I have a access 2002 application (a file with MDE extension) which when you execute it access 2002 opens and you insert/view/modify data through a series of user-created forms. Assuming that they are stored in a access database I want to get that database in order to create a new application (preferably with php/mysql). So I want to get the application's data. Anyway I could an export or something like that (even getting the data in access...
0
7250
by: steveradaza | last post by:
Sir,Good Day..I am a newbie here and i am just learning the usage of microsoft access..can you help me solve my problem in making a running balance in a query of microsoft access 2013 of my In and Out Investment?here is the attachment of my image for the sample table and the query that i created..please help me...i am doing this table and query for almost 2 months...i beg you all please..thank you in advance...
4
2437
by: nomeepk | last post by:
hi, i am using access 2013, Is there a way i can make this Access Database online, so i can access and use it from anywhere in a Browser? Regards.
5
3409
by: jimatqsi | last post by:
I'm looking for information about compatibility between Access 2013 and Access 2003. I've been approached by a firm that wants to begin upgrading their systems. I want to know if it is reasonable to plan to keep the back-end of an Access database in 2003 format while gradually updating client machines from Office 2003 to Office 2013. The front-end is pretty simplistic. It has about a dozen forms, some or all created in the 90s, no queries...
0
1692
by: LeoVBNET | last post by:
Hi Because VS 2013 dropped SQL COMPACT databases, I need to convert Access 2013 databases into SQL COMPACT in order to be able to use Linq to SQL in VB 2013. Anybody can help me? Thanks
0
9647
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9492
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10360
Oralloy
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...
0
10163
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 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...
0
9960
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7510
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 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...
0
5532
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4064
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
2
3668
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.