473,888 Members | 1,558 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how can I disable the mouse Scrolling Wheel?

Hello

I have an Access 2000 form with the following properties:

Record Source - Table1

Allow Additions - Yes

Data Entry - Yes

Cycle - Current Record

When I open this form the underlying table (Table1) goes to a new record
(let's call it record 1) as it should.

After typing in some data in this new record (record 1), if I turn the mouse
scrolling wheel, the underlying table then moves to the next new record
(record 2) and all the data appearing on the form disappears since the form's
controls (all the text boxes) are also bound to Table1.

If I start typing in data in this new record (record 2) and then turn the
mouse scrolling wheel again, Table1 moves to another new record (record 3)
and so on.

So is there a way to stop this from happening either by disabling the mouse
scrolling wheel or by some other way?

Thanks

G.Gerard
Nov 13 '05 #1
6 12158
Take a look at what Stephen Lebans has at
http://www.lebans.com/mousewheelonoff.htm

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

"GGerard" <gg*****@nbnet. nb.ca> wrote in message
news:qI******** *************@u rsa-nb00s0.nbnet.nb .ca...
So is there a way to stop this from happening either by disabling the
mouse scrolling wheel or by some other way?

Nov 13 '05 #2
>> So is there a way to stop this from happening >> either by disabling the mouse
scrolling wheel or by some other way?


Gerard,
I tried the .dll route before, and it worked just fine at home, but
when I tried to implement it at work, my app crashed. It was because
they used different mice at work, with different drivers...I couldnt
install the recommended drivers, because they used a USB connection and
required a different driver.. MS has a different option, that will
prevent the mouse scroll without using a custom .dll... the only caveat
is, you can not open the visual basic editor in the production app or
MS Access will hang... this shouldnt be a problem if users are running
a run-time version.. if not, then make sure to do your development work
in a copy of the production database, then switch copies when needed...
see the following link for more info:

http://support.microsoft.com/default...b;en-us;278379
Mark
ac*********@aol .com

Nov 13 '05 #3
There is absolutely no way that my MouseHook DLL could cause your app to
crash. The code simply discards specific MouseWheel messages...noth ing
else, period. For you to state otherwise shows your lack of
understanding in this area.

--
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
<ac*********@ao l.com> wrote in message
news:11******** **************@ g44g2000cwa.goo glegroups.com.. .
So is there a way to stop this from happening >> either by disabling the mouse scrolling wheel or by some other way?

Gerard,
I tried the .dll route before, and it worked just fine at home, but
when I tried to implement it at work, my app crashed. It was because
they used different mice at work, with different drivers...I couldnt
install the recommended drivers, because they used a USB connection

and required a different driver.. MS has a different option, that will
prevent the mouse scroll without using a custom .dll... the only caveat is, you can not open the visual basic editor in the production app or
MS Access will hang... this shouldnt be a problem if users are running
a run-time version.. if not, then make sure to do your development work in a copy of the production database, then switch copies when needed...

see the following link for more info:

http://support.microsoft.com/default...b;en-us;278379
Mark
ac*********@aol .com


Nov 13 '05 #4
On Sat, 25 Jun 2005 16:45:14 -0400, "Douglas J. Steele"
<NOSPAM_djsteel e@NOSPAM_canada .com> wrote:
Take a look at what Stephen Lebans has at
http://www.lebans.com/mousewheelonoff.htm

This reminds me: Does anyone know why the mouse wheel will not work
inside the VBA editor? It works in most other places in Access but
not there. Makes no sense to me.
Nov 13 '05 #5
"Lauren Wilson" <no****@private .com> wrote in message
news:sa******** *************** *********@4ax.c om...
On Sat, 25 Jun 2005 16:45:14 -0400, "Douglas J. Steele"
<NOSPAM_djsteel e@NOSPAM_canada .com> wrote:
Take a look at what Stephen Lebans has at
http://www.lebans.com/mousewheelonoff.htm

This reminds me: Does anyone know why the mouse wheel will not work
inside the VBA editor? It works in most other places in Access but
not there. Makes no sense to me.


It's mouse driver sensitive. I had to "downgrade" several versions of my mouse
intellimouse driver to get scrolling in the vba window to work.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 13 '05 #6
Rick Brandt wrote:
"Lauren Wilson" <no****@private .com> wrote in message
news:sa******** *************** *********@4ax.c om...
On Sat, 25 Jun 2005 16:45:14 -0400, "Douglas J. Steele"
<NOSPAM_djste ele@NOSPAM_cana da.com> wrote:

Take a look at what Stephen Lebans has at
http://www.lebans.com/mousewheelonoff.htm

This reminds me: Does anyone know why the mouse wheel will not work
inside the VBA editor? It works in most other places in Access but
not there. Makes no sense to me.

It's mouse driver sensitive. I had to "downgrade" several versions of my mouse
intellimouse driver to get scrolling in the vba window to work.


Yeah, Intellipoint 4 works in the VBA window but 5 does not.

Alternatively there's freewheel
http://www.geocities.com/SiliconVall...freewheel.html

--
[OO=00=OO]
Nov 13 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3456
by: | last post by:
Hi! I develop an application and I need a mouse driver for universal and intelligent scrolling behaviour with wheel. Something like the Microsoft IntelliMouse has. Is something like that anywhere availabel? regards,
6
3759
by: serge calderara | last post by:
Dear all, I would like to be able to use the mouse wheel button in my windows application to scroll my control data. The weel gets two function, when you rotate it and whne you press it. How to handle that 2 function and tell to my control to scroll up or down based on wheel function? Any one have use it already?
1
2263
by: Brad | last post by:
Hi, I am using Access 2000. I am trying to get the microsoft code to work for stopping the mouse wheel from scrolling records. It is the code from http://support.microsoft.com/default.aspx?scid=kb;en-us;278379 Title "ACC2000: How to Detect and Prevent the Mouse Wheel from Scrolling Through Records in a Form"
1
3438
by: jv | last post by:
I have quite a few of continuous form and subform where I do allow scroll bars. I run into problems with the mouse wheel whenever the data on the form does not take up the whole page. In this instance, whenever a user uses the mouse wheel to scroll down, the first record disappears off the screen and they can't get it back unless they click on the Refresh button or Page Up. The mouse wheel never scroll back up to the first record. ...
5
4376
by: Bryan Masephol | last post by:
Hi All I got a datagrid and a ComboBox on a form. I populate the combobox with years for all the data avaiable. When the user chooses a year the datagrid is populated with the specific years information. Problem... when the users scrolls the datagrid with the mouse wheel it work for 2 wheel clicks and then for some reason the focus jumps to the combobox and the year is then changes there for causing the data to change and errors...
0
3172
by: 6tc1 | last post by:
Hi all, I've got a UserControl that contains a few PictureBox objects. If I click on outside of the Picture in the UserControl, the scrolling with the mouse button works - however, no amount of clicking on the PictureBox objects will get that scrolling working. However, after I click on outside of the PictureBox object, then click as many times as I like on the PictureBox the scrolling with the mouse wheel continues to work. I found...
1
3340
by: nicholas | last post by:
Hi, If on an asp.net page the user has just selected a value in a dropdownlist and scrolls with the wheel of his mouse, the selected value of the dropdownlist will change. How could I avoid this. So how could I disable the mouse scrolling that dropdownlist. Or how could I disable the mouse-scroll on those pages.
8
2538
by: rodchar | last post by:
hey all, can someone please tell me if you can disable the scroll button for a dropdownlist. For example, when you select an item in a dropdownlist and it still has focus and you accidently hit scroll wheel on your mouse the selected item changes. can this be disabled? thanks,
1
3240
by: AnotherFranklin | last post by:
I recently edited a 2003 Access Database using the 2007 version. When using it with 2007, using the scroll wheel on the mouse when one is a form will scroll the page up & down. However, one of users is on Access 2003, and when using the wheel on her mouse, it will flip through the saved records in the database, in essence going from one record to another, as opposed to just scrolling up & down the form. How do I prevent this from...
0
9961
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
9800
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,...
1
10886
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,...
0
9597
agi2029
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...
1
7990
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
7148
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5824
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6014
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3252
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 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.