473,563 Members | 2,805 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How can i disable right click on report ?

23 New Member
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 4805
Rabbit
12,516 Recognized Expert Moderator MVP
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 Recognized Expert Moderator Expert
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,564 Recognized Expert Moderator MVP
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 New Member
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 Recognized Expert Moderator Expert
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,564 Recognized Expert Moderator MVP
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
13697
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 click disable function right(e) { //This function is for Net 4. if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)) {
9
2866
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 x = "<head><\/head><body oncontextmenu="return false"><img src='temp.jpg' border=0><\/body>" top.document.open()
4
2268
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
9291
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 amplement the disable right click with out disbling menus. Further, if i use the above code, any of my custom menu bars are not available. how can i...
14
3757
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 means printscreen. I have only the java script code for mouse right click disable but that does not allow me to disable to do ctrl+c. So I need some...
0
1804
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 disable all mouse click events on slide show which is inside the webbrowser control, i tried all the ways, but cant disable it.If anyone know the...
1
4527
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 right-click option in the embedded Real & Quick Time players, because I don't want the viewers to download the video but to view it while streaming.
5
22887
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 maximizsed buttons from the form properties and set the form border style to fix dialog but still on right click of mouse, the context menu for close and...
11
8783
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
1505
by: karthikselvam | last post by:
how to disable right click on panel in asp.net.please help me soon
0
7665
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...
0
7583
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...
0
7888
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. ...
0
7950
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...
0
3643
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2082
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
1
1200
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
924
bsmnconsultancy
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...

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.