Solved

Hide "Read-Only" massage bar

Posted on 2011-03-14
5
930 Views
Last Modified: 2012-05-11
I'm deploying an MS Access ade front end on a terminal server environment, so many users will run the same access file, but access has this annoying thing that if you open the same file more then once it displays on top a message bar saying that the file will be opened read-only, which I don't care that it's read-only since there is anyway nothing to change as far as the actual file, nobody will change the design, nor the data, since its just a front end to a sql server db, however this message is very confusing to innocent front end users which leads them to erroneously believe that perhaps there data won't get saved, how can I suppress this message bar,

Turning off the security message bar in security center doesn’t get rid of the read-only message.
0
Comment
Question by:Mendel_Lowy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 77

Expert Comment

by:peter57r
ID: 35131258
adp were designed by MS to be single user files - not shared.

If you are trying to share a file then this is probably not the only issue you will have.
0
 

Author Comment

by:Mendel_Lowy
ID: 35138088
in version 2003 i don't get any message, only in 2007 and 2010, the message displays on top.

is there any workaround to hide it upon loading the app?

0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 35138776
Perhaps, ...but remember MS has Deprecated ADP's in Access 2007 and newer, so there may never be a workaround for these newer versions.

But to be sure, ...let's see what some other Experts might post...


JeffCoachman
0
 

Accepted Solution

by:
Mendel_Lowy earned 0 total points
ID: 35139088
first i have to say that if the access file is set to read-only (in the os file properties) it produces the same symptoms, even in single user mode

having said that, after some research, here is the deal.

Access has a macro command to hide the message bar named "HideMessageBar", however running this command on startup, via AutoExec macro or load of the startup form, doesn't do the trick, evidently because at the point of startup is premature to run, so it's a little ugly process, either via a timer and run it after 3 seconds or perhaps run a bound form which triggers the message and run it on current event (not open and not load)
0
 

Author Closing Comment

by:Mendel_Lowy
ID: 35913678
...
0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

696 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