473,387 Members | 1,492 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How can i disable right click on report ?

23
hi

How can i disable right click on report that a user can not change the design of the report.
i am using access 2002

Thanks.
Dec 24 '13 #1
6 4768
Rabbit
12,516 Expert Mod 8TB
Give the user a compiled version of the database. But remember to keep an uncompiled version for yourself so you can make changes.
Dec 24 '13 #2
zmbd
5,501 Expert Mod 4TB
This will stop other popups too so be careful here:
Report, onload event:
Expand|Select|Wrap|Line Numbers
  1. CommandBars("Form View Popup").Enabled = false
Report, close event:
Expand|Select|Wrap|Line Numbers
  1. CommandBars("Form View Popup").Enabled = true
Remember to re-enable or you'll have fits with other things!!!
Dec 24 '13 #3
NeoPa
32,556 Expert Mod 16PB
An MDE or ACCDE database will not allow users to change the objects' designs.

This is very likely your easiest and safest course.

I suspect this is what Rabbit was referring to in his post.
Dec 25 '13 #4
moonrb
23
thanks

but can u tell me , how can i get data from an MDE file, when i make changes to the database by original MDB file.

i want to know the backup process from MDE file & restore process.

i have another problem, that is if i give the MDE file to a user, he can easily copy it and give it to others. How can i prevent this from happening

thanks

NeoPa & Rabbit
Dec 25 '13 #5
zmbd
5,501 Expert Mod 4TB
but can u tell me , how can i get data from an MDE file, when i make changes to the database by original MDB file.
IF you make a design change to the database (ie. form, add a query, etc...) you must re-create the MDE/ACCDE file.
There is no way to reverse the process; thus, the requirement to keep a working copy of the MDB/ACCDB file.

i want to know the backup process from MDE file & restore process.
You do not go back from an MDE to a MDB. Keep a copy of the MDB file for development.

i have another problem, that is if i give the MDE file to a user, he can easily copy it and give it to others. How can i prevent this from happening
Normally, new question, new thread; however, this one is a short answer: You can not easily prevent this from happening.
There is nothing you can do that a smart user can not bypass in Access other than the MDB/ACCDB to MDE/ACCDE conversion (and even then, there are hex editors and some very savy blackhats that more than likely can still reverse engineer the application)
IF you want more ideas - new thread please.
Dec 25 '13 #6
NeoPa
32,556 Expert Mod 16PB
As Z says, the conversion process is one way. You (and only you) keep a copy of your MDB/ACCDB file. You use this file to create an MDE/ACCDE file that you distribute to your users. This file is not one they can work on to produce other files as it has the design of objects (Forms and Reports) locked.

It's generally as usable for a user but simply cannot (ignoring hacker techniques) be used to produce new versions.
Dec 26 '13 #7

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

Similar topics

11
by: yaktipper | last post by:
This explains how to disable the view source / right-click menu in Netscape 4, Netscape 6 and Internet Explorer (IE). <script language="JavaScript"> //This code is the beginning of the right...
9
by: Dennis Allen | last post by:
Hi. What's the best way to display an image, disabling the user's ability to right-click on it? I believe you have to use <body oncontextmenu="return false">. Would the following work? var...
4
by: Seen | last post by:
This has probably been covered before but I can't seem to find it. I want to disable the user from using the right mouse button that brings up a windown menu of options. How's it done?????
1
by: Mclaren | last post by:
I have this code that disables all menus and toolbars including the right click functions. Dim i As Integer For i = 1 To CommandBars.Count CommandBars(i).Enabled = False Next i How can i...
14
by: Amar | last post by:
Hi All, I am a newbie to PHP and have the task to create a page using PHP where in that page I need to disable all key operation as well as mouse operation even also the menu operation that...
0
by: cheenusri | last post by:
Hello friends, i am running slide show(pps file) in vb.net form using webbrowser control in it.while running the form, if right click on the slide, it show some popup menu, here i wan to...
1
by: DILA | last post by:
Hi, I have included an embedded Real Player and an embedded Quick Time Player for streaming videos, in my web pages. I'm interested in searching for a method or a script to disable the...
5
by: neehakale | last post by:
language using: C#. platform for program: WINDOWS FORM I wnt to disable the right click for text boxes.And also want to diable the context menu. I have already disable the Minimize and...
11
by: lightyagami | last post by:
how to disable right click in vb6? because i put a flash document in my form and i want to be it like a touch screeen....so how?
0
by: karthikselvam | last post by:
how to disable right click on panel in asp.net.please help me soon
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
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,...

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.