473,395 Members | 1,521 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,395 software developers and data experts.

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 12105
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*********************@ursa-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...nothing
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*********@aol.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.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_djsteele@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.com...
On Sat, 25 Jun 2005 16:45:14 -0400, "Douglas J. Steele"
<NOSPAM_djsteele@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.com...
On Sat, 25 Jun 2005 16:45:14 -0400, "Douglas J. Steele"
<NOSPAM_djsteele@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.


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
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...
6
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...
1
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...
1
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...
5
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...
0
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...
1
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...
8
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...
1
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...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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,...
0
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...
0
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...

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.